]> 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)
commit781ef17b57f0632d59672fd3e8b85935f44050be
tree8d4f45ccb14a85d07c9de983715d1981cc9d5388
parent22c70d777f01aa3fdb926a42b7a733624128210a
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