summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorEduardo Valentin <edubezval@gmail.com>2019-01-02 00:34:03 +0000
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2019-02-20 10:13:14 +0100
commit93af75d0aba032fd8407be632c8f2f8657829a10 (patch)
treef432a1219aff164cd1fae5ca1ceae2457e816c77 /lib
parent9a376109f0c3b78d56adeb2134d4f2cb2a765ce9 (diff)
thermal: hwmon: inline helpers when CONFIG_THERMAL_HWMON is not set
commit 03334ba8b425b2ad275c8f390cf83c7b081c3095 upstream. Avoid warnings like this: thermal_hwmon.h:29:1: warning: ‘thermal_remove_hwmon_sysfs’ defined but not used [-Wunused-function] thermal_remove_hwmon_sysfs(struct thermal_zone_device *tz) Fixes: 0dd88793aacd ("thermal: hwmon: move hwmon support to single file") Reviewed-by: Geert Uytterhoeven <geert+renesas@glider.be> Signed-off-by: Eduardo Valentin <edubezval@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'lib')
0 files changed, 0 insertions, 0 deletions