diff options
author | Andrzej Pietrasiewicz <[email protected]> | 2020-06-29 14:29:19 +0200 |
---|---|---|
committer | Daniel Lezcano <[email protected]> | 2020-06-29 20:26:35 +0200 |
commit | 1ee14820fd8ee79c4fc191155f48c985f28040e2 (patch) | |
tree | 8d42861cf3c807a4a103b918abd28723f90e1924 /lib/netdev-notifier-error-inject.c | |
parent | 5a3506657f71d7ca124c040aff98639673c5dc97 (diff) |
thermal: remove get_mode() operation of drivers
get_mode() is now redundant, as the state is stored in struct
thermal_zone_device.
Consequently the "mode" attribute in sysfs can always be visible, because
it is always possible to get the mode from struct tzd.
Signed-off-by: Andrzej Pietrasiewicz <[email protected]>
[for acerhdf]
Acked-by: Peter Kaestle <[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