linux/drivers/pinctrl/qcom
Arnd Bergmann d1040ea06f pinctrl: msm: mark PM functions as __maybe_unused
Without CONFIG_PM_SLEEP, we get annoying warnings about unused functions:

drivers/pinctrl/qcom/pinctrl-msm.c:1082:12: error: 'msm_pinctrl_resume' defined but not used [-Werror=unused-function]
 static int msm_pinctrl_resume(struct device *dev)
            ^~~~~~~~~~~~~~~~~~
drivers/pinctrl/qcom/pinctrl-msm.c:1075:12: error: 'msm_pinctrl_suspend' defined but not used [-Werror=unused-function]
 static int msm_pinctrl_suspend(struct device *dev)

Mark them as __maybe_unused to shut up the warning and silently drop
the functions without having to add ugly #ifdefs.

Fixes: 977d057ad3 ("pinctrl: msm: Add sleep pinctrl state transitions")
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Reviewed-by: Evan Green <evgreen@chromium.org>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
2018-12-21 11:06:41 +01:00
..
Kconfig pinctrl: qcom: Add qcs404 pinctrl driver 2018-09-26 09:43:01 +02:00
Makefile pinctrl: qcom: Add qcs404 pinctrl driver 2018-09-26 09:43:01 +02:00
pinctrl-apq8064.c pinctrl: qcom: General Purpose clocks for apq8064 2017-08-31 11:32:19 +02:00
pinctrl-apq8084.c pinctrl: qcom: drop owner assignment from platform_drivers 2014-10-20 16:21:23 +02:00
pinctrl-ipq4019.c pinctrl: msm: add support to configure ipq40xx GPIO_PULL bits 2017-08-14 15:00:59 +02:00
pinctrl-ipq8064.c pinctrl: qcom: drop owner assignment from platform_drivers 2014-10-20 16:21:23 +02:00
pinctrl-ipq8074.c pinctrl: qcom: Add ipq8074 pinctrl driver 2017-06-29 15:12:40 +02:00
pinctrl-mdm9615.c pinctrl: qcom: Add support for MDM9615 TLMM 2016-06-29 10:10:52 +02:00
pinctrl-msm8x74.c pinctrl: qcom: msm8974: Add hsic_ctl pinmux 2016-06-29 10:14:46 +02:00
pinctrl-msm8660.c pinctrl: qcom: msm8660: rename some SDC1->SDC4 2017-01-03 09:26:20 +01:00
pinctrl-msm8916.c pinctrl: qcom: Add msm8916 pinctrl driver 2015-01-30 14:35:09 +01:00
pinctrl-msm8960.c pinctrl: qcom: drop owner assignment from platform_drivers 2014-10-20 16:21:23 +02:00
pinctrl-msm8994.c pinctrl: qcom: Add msm8994 pinctrl driver 2016-11-04 23:55:36 +01:00
pinctrl-msm8996.c pinctrl: qcom: Add msm8996 pinctrl driver 2015-12-01 10:29:03 +01:00
pinctrl-msm8998.c pinctrl: msm8998: Remove owner assignment from platform_driver 2018-03-27 14:05:11 +02:00
pinctrl-msm.c pinctrl: msm: mark PM functions as __maybe_unused 2018-12-21 11:06:41 +01:00
pinctrl-msm.h pinctrl: msm: Add sleep pinctrl state transitions 2018-11-19 15:40:27 +01:00
pinctrl-qcs404.c pinctrl: qcom: Add qcs404 pinctrl driver 2018-09-26 09:43:01 +02:00
pinctrl-qdf2xxx.c pinctrl: qcom: qdf2xxx: add support for new ACPI HID QCOM8002 2018-05-02 14:36:08 +02:00
pinctrl-sdm660.c pinctrl: qcom: Add sdm660 pinctrl driver 2018-09-26 08:55:53 +02:00
pinctrl-sdm845.c pinctrl: msm: Add sleep pinctrl state transitions 2018-11-19 15:40:27 +01:00
pinctrl-spmi-gpio.c pinctrl: qcom: spmi-gpio: add compatible for pms405 GPIO 2018-11-26 09:13:22 +01:00
pinctrl-spmi-mpp.c pinctrl: qcom: spmi-mpp: Fix err handling of pmic_mpp_set_mux 2018-09-21 08:17:43 -07:00
pinctrl-ssbi-gpio.c pinctrl: qcom: ssbi-gpio: fix gpio-hog related boot issues 2018-11-16 23:15:03 +01:00
pinctrl-ssbi-mpp.c pinctrl: Include <linux/gpio/driver.h> nothing else 2018-09-14 15:10:57 +02:00