diff options
author | Eduardo Valentin <edubezval@gmail.com> | 2019-01-02 00:34:03 +0000 |
---|---|---|
committer | Eduardo Valentin <edubezval@gmail.com> | 2019-01-02 04:43:00 -0800 |
commit | 03334ba8b425b2ad275c8f390cf83c7b081c3095 (patch) | |
tree | f7f1c200a3fee4e040e13c781f2821bbacc00ebd /tools/lib/string.c | |
parent | 0072a0c14d5b7cb72c611d396f143f5dcd73ebe2 (diff) |
thermal: hwmon: inline helpers when CONFIG_THERMAL_HWMON is not set
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>
Diffstat (limited to 'tools/lib/string.c')
0 files changed, 0 insertions, 0 deletions