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

Bastien Nocera posted 11 patches 3 weeks, 4 days ago
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(-)
[PATCH v2 00/11] HID: Use pm_*ptr instead of #ifdef CONFIG_PM*
Posted by Bastien Nocera 3 weeks, 4 days ago
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
Re: [PATCH v2 00/11] HID: Use pm_*ptr instead of #ifdef CONFIG_PM*
Posted by Jiri Kosina 2 weeks, 3 days ago
On Tue, 13 Jan 2026, Bastien Nocera wrote:

> 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

Now queued in hid.git#for-6.20/pm_ptr-v2.

Thanks,

-- 
Jiri Kosina
SUSE Labs