hwmon: (ads1015) Fix build warning
authorGuenter Roeck <linux@roeck-us.net>
Thu, 4 Apr 2019 13:29:51 +0000 (06:29 -0700)
committerGuenter Roeck <linux@roeck-us.net>
Tue, 16 Apr 2019 00:19:53 +0000 (17:19 -0700)
commiteb3cb6d5bd51503f646c8a53bc227f20b23f64a5
tree80c071e0d2762b22ae0bf53e636f200cd78a541a
parent20894216d8b2217b4367bfe169b620b24cbad22f
hwmon: (ads1015) Fix build warning

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

drivers/hwmon/ads1015.c:310:34: warning:
‘ads1015_of_match’ defined but not used

Marking ads1015_of_match as __maybe_unused fixes the problem.

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