• V
    thermal: Shorten name of sysfs callbacks · 33e678d4
    Viresh Kumar 提交于
    The naming isn't consistent across all sysfs callbacks in the thermal
    core, some have a short name like type_show() and others have long names
    like thermal_cooling_device_weight_show(). This patch tries to make it
    consistent by shortening the name of sysfs callbacks.
    
    Some of the sysfs files are named similarly for both thermal zone and
    cooling device (like: type) and to avoid name clash between their
    show/store routines, the cooling device specific sysfs callbacks are
    prefixed with "cdev_".
    Signed-off-by: NViresh Kumar <viresh.kumar@linaro.org>
    Signed-off-by: NZhang Rui <rui.zhang@intel.com>
    33e678d4
thermal_sysfs.c 24.7 KB