]> asedeno.scripts.mit.edu Git - linux.git/commit
hwmon: (tmp421) Fix build warning
authorGuenter Roeck <linux@roeck-us.net>
Thu, 4 Apr 2019 14:50:26 +0000 (07:50 -0700)
committerGuenter Roeck <linux@roeck-us.net>
Tue, 16 Apr 2019 00:19:53 +0000 (17:19 -0700)
commitbd7d56a709004b35ce17854d44b96466cc334613
tree59f2d870e2ba1b3e4f6c699e89722872e0220358
parent1cbee124dfd4d4388226d995a9c709a50b28f797
hwmon: (tmp421) Fix build warning

The following build warning is seen if CONFIG_OF is disabled.

drivers/hwmon/tmp421.c:73:34: warning:
‘tmp421_of_match’ defined but not used

Mark tmp421_of_match as __maybe_unused to fix the problem.

Signed-off-by: Guenter Roeck <linux@roeck-us.net>
drivers/hwmon/tmp421.c