]> git.ipfire.org Git - thirdparty/linux.git/commit
platform/x86: oxpec: Move fan speed read to separate function
authorAntheas Kapenekakis <lkml@antheas.dev>
Fri, 25 Apr 2025 11:18:15 +0000 (13:18 +0200)
committerIlpo Järvinen <ilpo.jarvinen@linux.intel.com>
Wed, 30 Apr 2025 11:05:37 +0000 (14:05 +0300)
commit665fab3381220cf8925b9f7c4c8d6512e47efe99
treefcfccdfdac2f5013346a416d6b48fad434e29aa3
parentb804a9b818905a6eb9783abc18483a2ca53ee281
platform/x86: oxpec: Move fan speed read to separate function

While not necessary for fixing the ABI hwmon issue, fan speed will be
the only remaining value without a function. Therefore, finish the
refactor by moving it to a separate function.

Reviewed-by: Derek J. Clark <derekjohn.clark@gmail.com>
Reviewed-by: Thomas Weißschuh <linux@weissschuh.net>
Reviewed-by: Ilpo Järvinen <ilpo.jarvinen@linux.intel.com>
Signed-off-by: Antheas Kapenekakis <lkml@antheas.dev>
Link: https://lore.kernel.org/r/20250425111821.88746-11-lkml@antheas.dev
Signed-off-by: Ilpo Järvinen <ilpo.jarvinen@linux.intel.com>
drivers/platform/x86/oxpec.c