diff options
author | Eduardo Valentin <edubezval@gmail.com> | 2016-11-07 21:08:52 -0800 |
---|---|---|
committer | Zhang Rui <rui.zhang@intel.com> | 2016-11-23 10:06:12 +0800 |
commit | 4d0fe7490d7f4d61b582acbae718328284f151b9 (patch) | |
tree | 5ca30bdc6b8a80036775227886cf935845803b02 /arch/unicore32 | |
parent | e161aefb9a5fff038054231ffb80abbc2aa42238 (diff) | |
download | lwn-4d0fe7490d7f4d61b582acbae718328284f151b9.tar.gz lwn-4d0fe7490d7f4d61b582acbae718328284f151b9.zip |
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 'arch/unicore32')
0 files changed, 0 insertions, 0 deletions