platform/x86: thinkpad_acpi: Fix thermal_temp_input_attr sorting
authorHans de Goede <hdegoede@redhat.com>
Sun, 21 Nov 2021 19:11:29 +0000 (20:11 +0100)
committerHans de Goede <hdegoede@redhat.com>
Thu, 25 Nov 2021 15:19:07 +0000 (16:19 +0100)
commit3a0abea60c6a39f5362db6d78cba7a932850fec2
treea09410d5fa5c6b48bbc35d335bb6aba1c717ac3b
parentcb97f5f01d383ff166d50e356d07ac38d6033ac8
platform/x86: thinkpad_acpi: Fix thermal_temp_input_attr sorting

Fix thermal_temp_input_attr sorting. Now that we use is_visible,
rather then registering only part of the thermal_temp_input_attr array,
putting attr 0-7 last is no longer needed.

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-8-hdegoede@redhat.com
drivers/platform/x86/thinkpad_acpi.c