thermal: Use DEVICE_ATTR_{RO|RW|WO}() variants
authorViresh Kumar <viresh.kumar@linaro.org>
Tue, 3 Apr 2018 09:49:04 +0000 (15:19 +0530)
committerZhang Rui <rui.zhang@intel.com>
Tue, 22 May 2018 02:07:23 +0000 (10:07 +0800)
commite76a4386b2f57e187d617bef947feda9e84d422f
tree52cdbdf189fb5a5b45a76db6e89c122b80f4a75c
parent33e678d47d1f3e8d485d38c87bc494ad7bf697f0
thermal: Use DEVICE_ATTR_{RO|RW|WO}() variants

Use the DEVICE_ATTR_{RO|RW|WO}() variants instead of DEVICE_ATTR().

Signed-off-by: Viresh Kumar <viresh.kumar@linaro.org>
Signed-off-by: Zhang Rui <rui.zhang@intel.com>
drivers/thermal/thermal_sysfs.c