diff options
author | Thomas Weißschuh <linux@weissschuh.net> | 2023-10-12 13:23:41 +0300 |
---|---|---|
committer | Benjamin Tissoires <bentiss@kernel.org> | 2023-10-25 19:33:42 +0300 |
commit | eeebfe6259ba2d5b0980eb7b0df384eb77e9e4f5 (patch) | |
tree | bc223a8b14372038ee30620fc9619164f68706c3 /arch/um/drivers/hostaudio_kern.c | |
parent | fc2543414c3e9c5a0d3ac218ae93fb561a503deb (diff) | |
download | linux-eeebfe6259ba2d5b0980eb7b0df384eb77e9e4f5.tar.xz |
HID: rmi: 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-4-0a71531ca93b@weissschuh.net
Signed-off-by: Benjamin Tissoires <bentiss@kernel.org>
Diffstat (limited to 'arch/um/drivers/hostaudio_kern.c')
0 files changed, 0 insertions, 0 deletions