]> git.baikalelectronics.ru Git - kernel.git/commit
Input: ep93xx_keypad - annotate suspend/resume as __maybe_unused
authorDmitry Torokhov <dmitry.torokhov@gmail.com>
Tue, 12 Oct 2021 01:37:32 +0000 (18:37 -0700)
committerDmitry Torokhov <dmitry.torokhov@gmail.com>
Sat, 16 Oct 2021 01:29:43 +0000 (18:29 -0700)
commite79dd93d3b1aba08512e04ed9a91c0264ef24a50
tree8d4f45ccb14a85d07c9de983715d1981cc9d5388
parenta452ab6776777ad8ae0e155138009f0d13f1df09
Input: ep93xx_keypad - annotate suspend/resume as __maybe_unused

Instead of guarding suspend/resume methods with #ifdef CONFIG_PM
let's mark them as __maybe_unused as this allows better compile
coverage.

Acked-by: Alexander Sverdlin <alexander.sverdlin@gmail.com>
Link: https://lore.kernel.org/r/20211012013735.3523140-1-dmitry.torokhov@gmail.com
Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
drivers/input/keyboard/ep93xx_keypad.c