summaryrefslogtreecommitdiff
path: root/drivers/hwmon/f71882fg.c
diff options
context:
space:
mode:
authorEduardo Valentin <edubezval@gmail.com>2016-11-08 08:09:18 +0300
committerZhang Rui <rui.zhang@intel.com>2016-11-23 05:06:12 +0300
commit698db4fdd3e8ef65db2cbde447443c1dc5807b95 (patch)
treed948e4ee16a1a09e63b0b0062b1af2ee97fcf423 /drivers/hwmon/f71882fg.c
parent81193e2e6b473734bcb531a25206780d4f2dbea9 (diff)
downloadlinux-698db4fdd3e8ef65db2cbde447443c1dc5807b95.tar.xz
thermal: sysfs: remove symbols of emul_temp when config is disabled
Remove the following warning: In file included from drivers/thermal/thermal_sysfs.c:19:0: include/linux/device.h:575:26: warning: ‘dev_attr_emul_temp’ defined but not used [-Wunused-variable] struct device_attribute dev_attr_##_name = __ATTR(_name, _mode, _show, _store) ^ drivers/thermal/thermal_sysfs.c:395:8: note: in expansion of macro ‘DEVICE_ATTR’ when emul temp is disabled at Kconfig. Cc: Zhang Rui <rui.zhang@intel.com> Cc: linux-pm@vger.kernel.org Cc: linux-kernel@vger.kernel.org Signed-off-by: Eduardo Valentin <edubezval@gmail.com> Signed-off-by: Zhang Rui <rui.zhang@intel.com>
Diffstat (limited to 'drivers/hwmon/f71882fg.c')
0 files changed, 0 insertions, 0 deletions