diff options
| author | Hans de Goede <[email protected]> | 2021-11-21 20:11:25 +0100 |
|---|---|---|
| committer | Hans de Goede <[email protected]> | 2021-11-25 16:18:43 +0100 |
| commit | 5a47ac0041678d3d610b3ac724bca8c4bda2ddff (patch) | |
| tree | cecbbd6c5c95de172caaeec91613339a60054ff5 /tools/perf/scripts/python/bin | |
| parent | c7e1c782f2432cd4dc6c6ea930d99d93997a0edb (diff) | |
platform/x86: thinkpad_acpi: Simplify dytc_version handling
The only reason the proxysensor code needs dytc_version handling is for
proxsensor_attr_is_visible() and that will only ever get called after
all the subdrv init() callbacks have run.
tpacpi_dytc_profile_init() already calls DYTC_CMD_QUERY and is the
primary consumer of dytc_version, so simply let tpacpi_dytc_profile_init()
set dytc_version and remove the now no longer necessary dytc_get_version()
helper and its calls.
Reviewed-by: Andy Shevchenko <[email protected]>
Tested-by: Mark Pearson <[email protected]>
Signed-off-by: Hans de Goede <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Diffstat (limited to 'tools/perf/scripts/python/bin')
0 files changed, 0 insertions, 0 deletions