hwmon: (pmbus/tps53679) Fix build warning
authorGuenter Roeck <linux@roeck-us.net>
Thu, 4 Apr 2019 13:16:46 +0000 (06:16 -0700)
committerGuenter Roeck <linux@roeck-us.net>
Tue, 16 Apr 2019 00:19:53 +0000 (17:19 -0700)
commite91cb17b733f63f8d55c836be76e89d9753c0859
tree51fd183f65f51ecca7e4e1e3102e12fc1e7aaa2c
parent9c6b0f75ea9ce7dc97913c7676987dc8e5b58741
hwmon: (pmbus/tps53679) Fix build warning

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

drivers/hwmon/pmbus/tps53679.c:100:34: warning:
‘tps53679_of_match’ defined but not used

Marking tps53679_of_match as __maybe_unused fixes the problem.

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