mbox series

[0/2] thermal: Minor sysfs cleanups

Message ID cover.1522748815.git.viresh.kumar@linaro.org
Headers show
Series thermal: Minor sysfs cleanups | expand

Message

Viresh Kumar April 3, 2018, 9:49 a.m. UTC
Hi Rui,

As discussed earlier, here are two cleanup patches which fix the issues
you pointed out earlier. These patches can be applied on top of the
patch I sent again yesterday:

lkml.kernel.org/r/bab196f91cbddca175c725ae6159c0af639bfe07.1522666398.git.viresh.kumar@linaro.org

Viresh Kumar (2):
  thermal: Shorten name of sysfs callbacks
  thermal: Use DEVICE_ATTR_{RO|RW|WO}() variants

 drivers/thermal/thermal_core.c  |  6 ++--
 drivers/thermal/thermal_core.h  | 13 +++----
 drivers/thermal/thermal_sysfs.c | 76 +++++++++++++++--------------------------
 3 files changed, 35 insertions(+), 60 deletions(-)

-- 
2.15.0.194.g9af6a3dea062