diff options
author | Eduardo Valentin <edubezval@gmail.com> | 2016-11-08 08:08:52 +0300 |
---|---|---|
committer | Zhang Rui <rui.zhang@intel.com> | 2016-11-23 05:06:12 +0300 |
commit | 4d0fe7490d7f4d61b582acbae718328284f151b9 (patch) | |
tree | 5ca30bdc6b8a80036775227886cf935845803b02 /include/linux/apm_bios.h | |
parent | e161aefb9a5fff038054231ffb80abbc2aa42238 (diff) | |
download | linux-4d0fe7490d7f4d61b582acbae718328284f151b9.tar.xz |
thermal: core: move trips attributes to tz->device.groups
Finally, move the last thermal zone sysfs attributes to
tz->device.groups: trips attributes. This requires adding a
attribute_group to thermal_zone_device, creating it dynamically, and
then setting all trips attributes in it. The trips attribute is then
added to the tz->device.groups.
As the removal of all attributes are handled by device core, the device
remove calls are not needed anymore.
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 'include/linux/apm_bios.h')
0 files changed, 0 insertions, 0 deletions