[ibm-acpi-devel] [PATCH v1 2/2] platform/x86: thinkpad_acpi: Replace custom str_on_off() etc

2022-06-16 Thread Andy Shevchenko
Replace enabled(), onoff() and other similar places by str_*() helpers. Signed-off-by: Andy Shevchenko --- drivers/platform/x86/thinkpad_acpi.c | 55 +++- 1 file changed, 21 insertions(+), 34 deletions(-) diff --git a/drivers/platform/x86/thinkpad_acpi.c b/drivers/platf

[ibm-acpi-devel] [PATCH v1 1/2] platform/x86: thinkpad_acpi: Sort headers for better maintenance

2022-06-16 Thread Andy Shevchenko
It's quite hard to understand in that zillions of headers that are included if any specific one is already listed. Sort headers for better maintenance. Signed-off-by: Andy Shevchenko --- drivers/platform/x86/thinkpad_acpi.c | 58 +++- 1 file changed, 31 insertions(+), 27