platform/x86: thinkpad_acpi: clean up dytc profile convert
authorMark Pearson <markpearson@lenovo.com>
Mon, 7 Mar 2022 18:30:41 +0000 (13:30 -0500)
committerHans de Goede <hdegoede@redhat.com>
Wed, 9 Mar 2022 17:17:45 +0000 (18:17 +0100)
commitd4b938abafc83c1e79694c5ff8d749cd23243a2b
treebdde72dde7401ed2b83572d1d6c80fa7bd9dad63
parent1e8aa2aa1274953e8e595f0630436744597d0d64
platform/x86: thinkpad_acpi: clean up dytc profile convert

Minor update cleaning up the code around convert_profile_to_dytc as
identified in the previous commit.

Signed-off-by: Mark Pearson <markpearson@lenovo.com>
Link: https://lore.kernel.org/r/20220307183041.4467-1-markpearson@lenovo.com
Reviewed-by: Hans de Goede <hdegoede@redhat.com>
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
drivers/platform/x86/thinkpad_acpi.c