diff options
| author | Guenter Roeck <linux@roeck-us.net> | 2019-04-04 17:52:05 +0300 |
|---|---|---|
| committer | Guenter Roeck <linux@roeck-us.net> | 2019-04-16 03:19:53 +0300 |
| commit | 0e09e9f939cb1f16391d5f86c9d39f19c23923a5 (patch) | |
| tree | 48666514320c5ff82fc6d06046ce6614c67f9fb1 /tools/perf/scripts/python/stackcollapse.py | |
| parent | bd7d56a709004b35ce17854d44b96466cc334613 (diff) | |
| download | linux-0e09e9f939cb1f16391d5f86c9d39f19c23923a5.tar.xz | |
hwmon: lm95245: Fix build warnings
The following build warning is seen if CONFIG_OF is disabled.
drivers/hwmon/lm95245.c:626:34: warning:
‘lm95245_of_match’ defined but not used
Mark lm95245_of_match as __maybe_unused to fix the problem.
The following build warning is always seen.
drivers/hwmon/lm95245.c:95:17: warning:
‘lm95245_reg_address’ defined but not used
The array is no longer used since commit c0a4b9ec1b43 ("hwmon: (lm95245)
Use new hwmon registration API"). Remove it.
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions
