Searched hist:"33 e678d47d1f3e8d485d38c87bc494ad7bf697f0" (Results 1 – 3 of 3) sorted by relevance
/openbmc/linux/drivers/thermal/ |
H A D | thermal_sysfs.c | diff 33e678d47d1f3e8d485d38c87bc494ad7bf697f0 Tue Apr 03 04:49:03 CDT 2018 Viresh Kumar <viresh.kumar@linaro.org> thermal: Shorten name of sysfs callbacks
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: Viresh Kumar <viresh.kumar@linaro.org> Signed-off-by: Zhang Rui <rui.zhang@intel.com>
|
H A D | thermal_core.h | diff 33e678d47d1f3e8d485d38c87bc494ad7bf697f0 Tue Apr 03 04:49:03 CDT 2018 Viresh Kumar <viresh.kumar@linaro.org> thermal: Shorten name of sysfs callbacks
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: Viresh Kumar <viresh.kumar@linaro.org> Signed-off-by: Zhang Rui <rui.zhang@intel.com>
|
H A D | thermal_core.c | diff 33e678d47d1f3e8d485d38c87bc494ad7bf697f0 Tue Apr 03 04:49:03 CDT 2018 Viresh Kumar <viresh.kumar@linaro.org> thermal: Shorten name of sysfs callbacks
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: Viresh Kumar <viresh.kumar@linaro.org> Signed-off-by: Zhang Rui <rui.zhang@intel.com>
|