linux/drivers/hid/usbhid
Thomas Weißschuh f354872108 HID: usbhid: remove #ifdef CONFIG_PM
Through the usage of pm_ptr() the CONFIG_PM-dependent code will always be
compiled, protecting against bitrot.
The linker will then garbage-collect the unused function avoiding any overhead.

Signed-off-by: Thomas Weißschuh <linux@weissschuh.net>
Link: https://lore.kernel.org/r/20231012-hid-pm_ptr-v1-2-0a71531ca93b@weissschuh.net
Signed-off-by: Benjamin Tissoires <bentiss@kernel.org>
2023-10-25 18:33:42 +02:00
..
hid-core.c HID: usbhid: remove #ifdef CONFIG_PM 2023-10-25 18:33:42 +02:00
hid-pidff.c HID: pidff: fix error return code in hid_pidff_init() 2021-05-27 15:40:34 +02:00
hiddev.c USB: make devnode() callback in usb_class_driver take a const * 2022-10-20 12:11:56 +02:00
Kconfig HID: Kconfig: Fix spelling mistake "Uninterruptable" -> "Uninterruptible" 2021-07-28 11:41:57 +02:00
Makefile
usbhid.h Revert "HID: usbhid: do not sleep when opening device" 2020-08-18 19:54:04 +02:00
usbkbd.c HID: move from strlcpy with unused retval to strscpy 2022-08-25 11:44:27 +02:00
usbmouse.c HID: move from strlcpy with unused retval to strscpy 2022-08-25 11:44:27 +02:00