summaryrefslogtreecommitdiff
path: root/firmware/kaweth
diff options
context:
space:
mode:
authorEduardo Valentin <edubezval@gmail.com>2016-11-08 08:08:45 +0300
committerZhang Rui <rui.zhang@intel.com>2016-11-23 05:06:12 +0300
commit3a836bfe9ff6342303bd2a146bcc42eebc3a259a (patch)
treed0c3ac708145247268a17d4d2a8ebc0de6c44b7e /firmware/kaweth
parent8baa5dae60adf95c44d52be3dae2367e3d5e9530 (diff)
downloadlinux-3a836bfe9ff6342303bd2a146bcc42eebc3a259a.tar.xz
thermal: core: move passive attr to tz->device.groups
This patch moves the passive attribute to tz->device.groups. Moving the passive attribute also requires a .is_visible() callback implementation for its attribute group. The logic behind the visibility of passive attribute is kept the same. We only expose the passive attribute if the thermal driver has exposed at least one passive trip point. 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 'firmware/kaweth')
0 files changed, 0 insertions, 0 deletions