hwmon: (w83791d) rename prototype parameter from 'register' to 'reg'
authorChris Peterson <cpeterso@cpeterso.com>
Wed, 21 Sep 2011 13:52:09 +0000 (06:52 -0700)
committerGuenter Roeck <guenter.roeck@ericsson.com>
Thu, 22 Sep 2011 00:25:18 +0000 (17:25 -0700)
commit7cbe1ceeb6ab2e4bc334b3dab3254d4414b72a23
treebc512f046c6e9446d661fd39f109e66e3f489706
parentf4af6fd6e21792ca4deca3d29c113a575594078e
hwmon: (w83791d) rename prototype parameter from 'register' to 'reg'

gcc -Wextra warns "register is not at beginning of declaration" because the
compiler thinks the parameter has been marked as a 'register' variable, but
the function prototype intended to name the parameter "register" (which is a
reserved keyword).

Signed-off-by: Chris Peterson <cpeterso@cpeterso.com>
Acked-by: Marc Hulsman <m.hulsman@tudelft.nl>
Signed-off-by: Guenter Roeck <guenter.roeck@ericsson.com>
drivers/hwmon/w83791d.c