]> git.baikalelectronics.ru Git - kernel.git/commit
Input: bu21013_ts - annotate supend/resume methods as __maybe_unused
authorDmitry Torokhov <dmitry.torokhov@gmail.com>
Thu, 8 Aug 2019 22:53:43 +0000 (15:53 -0700)
committerDmitry Torokhov <dmitry.torokhov@gmail.com>
Mon, 2 Sep 2019 16:06:53 +0000 (09:06 -0700)
commit771e90c2f759e4fcc56ed9f071e6d72e440574ad
treee39523379fc22e9b49d2aed8f26eb3c840b86adc
parenta49bfddcbe0af5daf15781b96ec62b6f232d5ba2
Input: bu21013_ts - annotate supend/resume methods as __maybe_unused

Instead if #ifdef-ing out suspend and resume methods, let's mark
them as __maybe_unused to get better compile time coverage.

Tested-by: Linus Walleij <linus.walleij@linaro.org>
Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
drivers/input/touchscreen/bu21013_ts.c