Re: [PATCH v2] HID: lenovo: Remove CONFIG_ACPI dependency

From: Arnd Bergmann
Date: Mon May 19 2025 - 17:12:56 EST


On Mon, May 19, 2025, at 22:49, Janne Grunau via B4 Relay wrote:
> From: Janne Grunau <j@xxxxxxxxxx>
>
> The hid-lenovo driver supports external Bluetooth and USB devices which
> can be used with non-ACPI systems/kernels. Call platform_profile_cycle()
> only if CONFIG_ACPI_PLATFORM_PROFILE is enabled and select
> CONFIG_ACPI_PLATFORM_PROFILE only if ACPI is enabled.
> This should not affect functionality since only the detachable keyboard
> of a x86 tablet with a custom connector has an hotkey for cycling
> through power profiles.
>
> Fixes: 52572cde8b4a4 ("HID: lenovo: select CONFIG_ACPI_PLATFORM_PROFILE")
> Signed-off-by: Janne Grunau <j@xxxxxxxxxx>

Acked-by: Arnd Bergmann <arnd@xxxxxxxx>