hwmon: (lm75) Fix build warning
authorGuenter Roeck <linux@roeck-us.net>
Thu, 4 Apr 2019 13:40:00 +0000 (06:40 -0700)
committerGuenter Roeck <linux@roeck-us.net>
Tue, 16 Apr 2019 00:19:53 +0000 (17:19 -0700)
commitffa83e784745f2c7ead0b9435564a9189eaa592f
tree22f4796838a392f767a9bef6b1bd659e4af3cbd9
parentacb614a393b51c54df52faff5bf69f6f58e396cd
hwmon: (lm75) Fix build warning

If CONFIG_OF is not enabled, the following build warning is observed.

drivers/hwmon/lm75.c:446:34: warning:
‘lm75_of_match’ defined but not used

Mark lm75_of_match as __maybe_unused to fix the problem.

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