summaryrefslogtreecommitdiff
path: root/drivers
diff options
context:
space:
mode:
authorAndrzej Pietrasiewicz <andrzej.p@collabora.com>2020-06-29 15:29:17 +0300
committerDaniel Lezcano <daniel.lezcano@linaro.org>2020-06-29 21:26:34 +0300
commitcbba1d719534b77b857267890b0f54f0f0a90de4 (patch)
treecef687a7e9dbc9aa27b3b1d1290c47aa84aeb18a /drivers
parent1595d887afe46b0ad721f27df895a61d4879ede2 (diff)
downloadlinux-cbba1d719534b77b857267890b0f54f0f0a90de4.tar.xz
thermal: Add current mode to thermal zone device
Prepare for changing the place where the mode is stored: now it is in drivers, which might or might not implement get_mode()/set_mode() methods. A lot of cleanup can be done thanks to storing it in struct tzd. The get_mode() methods will become redundant. Signed-off-by: Andrzej Pietrasiewicz <andrzej.p@collabora.com> Reviewed-by: Guenter Roeck <linux@roeck-us.net> Reviewed-by: Bartlomiej Zolnierkiewicz <b.zolnierkie@samsung.com> Reviewed-by: Amit Kucheria <amit.kucheria@linaro.org> Signed-off-by: Daniel Lezcano <daniel.lezcano@linaro.org> Link: https://lore.kernel.org/r/20200629122925.21729-4-andrzej.p@collabora.com
Diffstat (limited to 'drivers')
0 files changed, 0 insertions, 0 deletions