[PATCH v2 00/11] HID: Use pm_*ptr instead of #ifdef CONFIG_PM*

From: Bastien Nocera

Date: Tue Jan 13 2026 - 04:26:07 EST


Changes since v1:
- Fixed most patches to build
- Removed surface patch

All changes were compiled successfully with CONFIG_PM disabled.

Bastien Nocera (11):
HID: hid-alps: Use pm_ptr instead of #ifdef CONFIG_PM
HID: appletb-kbd: Use pm_ptr instead of #ifdef CONFIG_PM
HID: asus: Use pm_ptr instead of #ifdef CONFIG_PM
HID: lenovo: Use pm_ptr instead of #ifdef CONFIG_PM
HID: logitech-dj: Use pm_ptr instead of #ifdef CONFIG_PM
HID: nintendo: Use pm_ptr instead of #ifdef CONFIG_PM
HID: picolcd_core: Use pm_ptr instead of #ifdef CONFIG_PM
HID: hid-sensor-hub: Use pm_ptr instead of #ifdef CONFIG_PM
HID: uclogic: Use pm_ptr instead of #ifdef CONFIG_PM
HID: wacom: Use pm_ptr instead of #ifdef CONFIG_PM
HID: sony: Use pm_ptr instead of #ifdef CONFIG_PM

drivers/hid/hid-alps.c | 6 ++----
drivers/hid/hid-appletb-kbd.c | 8 ++------
drivers/hid/hid-asus.c | 6 ++----
drivers/hid/hid-lenovo.c | 6 +-----
drivers/hid/hid-logitech-dj.c | 6 +-----
drivers/hid/hid-nintendo.c | 11 ++---------
drivers/hid/hid-picolcd_core.c | 10 +++-------
drivers/hid/hid-sensor-hub.c | 10 +++-------
drivers/hid/hid-sony.c | 12 +++---------
drivers/hid/hid-uclogic-core.c | 8 ++------
drivers/hid/wacom_sys.c | 8 ++------
11 files changed, 23 insertions(+), 68 deletions(-)

--
2.52.0