drivers/misc: Add Aspeed P2A control driver
authorPatrick Venture <venture@google.com>
Thu, 25 Apr 2019 20:23:47 +0000 (13:23 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 25 Apr 2019 20:37:52 +0000 (22:37 +0200)
commit2d1c31cb642b44e3d621643b8d30e15e5e4df4e4
treeae212bef8eef56c15c4474386d962ec80a0321ba
parent06d5d6b7f9948a89543e1160ef852d57892c750d
drivers/misc: Add Aspeed P2A control driver

Fixup compiler warnings:
 - 108 warning: ISO C90 forbids mixed declarations and code
 - 264 warning: unused variable 'value'
 - 335 warning: unused variable 'res'

Reported-by: kbuild test robot <lkp@intel.com>
Signed-off-by: Patrick Venture <venture@google.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/misc/aspeed-p2a-ctrl.c