Skip to content
Commit 7cbe1cee authored by Chris Peterson's avatar Chris Peterson Committed by Guenter Roeck
Browse files

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: default avatarChris Peterson <cpeterso@cpeterso.com>
Acked-by: default avatarMarc Hulsman <m.hulsman@tudelft.nl>
Signed-off-by: default avatarGuenter Roeck <guenter.roeck@ericsson.com>
parent f4af6fd6
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment