Commit fc25434
HID: multitouch: 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-3-0a71531ca93b@weissschuh.net
Signed-off-by: Benjamin Tissoires <bentiss@kernel.org>1 parent f354872 commit fc25434
1 file changed
Lines changed: 3 additions & 7 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1802 | 1802 | | |
1803 | 1803 | | |
1804 | 1804 | | |
1805 | | - | |
1806 | 1805 | | |
1807 | 1806 | | |
1808 | 1807 | | |
| |||
1836 | 1835 | | |
1837 | 1836 | | |
1838 | 1837 | | |
1839 | | - | |
1840 | 1838 | | |
1841 | 1839 | | |
1842 | 1840 | | |
| |||
2259 | 2257 | | |
2260 | 2258 | | |
2261 | 2259 | | |
2262 | | - | |
2263 | | - | |
2264 | | - | |
2265 | | - | |
2266 | | - | |
| 2260 | + | |
| 2261 | + | |
| 2262 | + | |
2267 | 2263 | | |
2268 | 2264 | | |
0 commit comments