diff options
author | Andrzej Pietrasiewicz <[email protected]> | 2020-06-29 14:29:17 +0200 |
---|---|---|
committer | Daniel Lezcano <[email protected]> | 2020-06-29 20:26:34 +0200 |
commit | cbba1d719534b77b857267890b0f54f0f0a90de4 (patch) | |
tree | cef687a7e9dbc9aa27b3b1d1290c47aa84aeb18a /lib/netdev-notifier-error-inject.c | |
parent | 1595d887afe46b0ad721f27df895a61d4879ede2 (diff) |
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 <[email protected]>
Reviewed-by: Guenter Roeck <[email protected]>
Reviewed-by: Bartlomiej Zolnierkiewicz <[email protected]>
Reviewed-by: Amit Kucheria <[email protected]>
Signed-off-by: Daniel Lezcano <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Diffstat (limited to 'lib/netdev-notifier-error-inject.c')
0 files changed, 0 insertions, 0 deletions