]> asedeno.scripts.mit.edu Git - linux.git/commit
hwmon: (lm85) Fix build warning
authorGuenter Roeck <linux@roeck-us.net>
Thu, 4 Apr 2019 14:44:40 +0000 (07:44 -0700)
committerGuenter Roeck <linux@roeck-us.net>
Tue, 16 Apr 2019 00:19:53 +0000 (17:19 -0700)
commit20b497ab9c38e89e3a0aeaf469c90682520fb095
treefd606d88df516803c44e1d8bd126ec8b876b28b0
parent2720ce7e46e1c851890ddd9e94c8548230a13280
hwmon: (lm85) Fix build warning

The following build warning is seen if CONFIG_OF is disabled.

drivers/hwmon/lm85.c:1645:34: warning:
‘lm85_of_match’ defined but not used

Mark lm85_of_match as __maybe_unused to ix the problem.

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