summaryrefslogtreecommitdiffstats
path: root/mm
diff options
context:
space:
mode:
authorHans de Goede <hdegoede@redhat.com>2021-11-21 20:11:25 +0100
committerHans de Goede <hdegoede@redhat.com>2021-11-25 16:18:43 +0100
commit5a47ac0041678d3d610b3ac724bca8c4bda2ddff (patch)
treececbbd6c5c95de172caaeec91613339a60054ff5 /mm
parentc7e1c782f2432cd4dc6c6ea930d99d93997a0edb (diff)
downloadlinux-stable-5a47ac0041678d3d610b3ac724bca8c4bda2ddff.tar.gz
linux-stable-5a47ac0041678d3d610b3ac724bca8c4bda2ddff.tar.bz2
linux-stable-5a47ac0041678d3d610b3ac724bca8c4bda2ddff.zip
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 <andy.shevchenko@gmail.com> Tested-by: Mark Pearson <mpearson@lenovo.com> Signed-off-by: Hans de Goede <hdegoede@redhat.com> Link: https://lore.kernel.org/r/20211121191129.256713-4-hdegoede@redhat.com
Diffstat (limited to 'mm')
0 files changed, 0 insertions, 0 deletions