diff options
author | Arnd Bergmann <arnd@arndb.de> | 2017-06-09 09:54:09 -0700 |
---|---|---|
committer | Dmitry Torokhov <dmitry.torokhov@gmail.com> | 2017-06-09 09:54:56 -0700 |
commit | d4c9354b4015aa8d1b032c368682dd20a00f4e1f (patch) | |
tree | 8092c052514514348bd9e76ff14de5c9358a841d /include/acpi | |
parent | 78bcac7b2ae1e4f6e96c68ff353c140669ea231c (diff) |
Input: stmfts - mark all PM functions as __maybe_unused
We get a harmless warning when CONFIG_RUNTIME_PM is disabled:
drivers/input/touchscreen/stmfts.c:760:12: error: 'stmfts_runtime_resume' defined but not used [-Werror=unused-function]
static int stmfts_runtime_resume(struct device *dev)
drivers/input/touchscreen/stmfts.c:748:12: error: 'stmfts_runtime_suspend' defined but not used [-Werror=unused-function]
static int stmfts_runtime_suspend(struct device *dev)
The regular PM functions are already marked as __maybe_unused, so let's
do the same for the runtime-PM as well.
Fixes: 78bcac7b2ae1 ("Input: add support for the STMicroelectronics FingerTip touchscreen")
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
Diffstat (limited to 'include/acpi')
0 files changed, 0 insertions, 0 deletions