Re: [PATCH] pinctrl: samsung: mark PM functions as __maybe_unused

2017-02-06 Thread Linus Walleij
On Wed, Feb 1, 2017 at 5:16 PM, Arnd Bergmann wrote: > The rework of the suspend/resume handling uses the wrong #ifdef check, leading > to a build warning without CONFIG_PM_SLEEP: > > drivers/pinctrl/samsung/pinctrl-samsung.c:1142:12: error: > 'samsung_pinctrl_resume' defined but

Re: [PATCH] pinctrl: samsung: mark PM functions as __maybe_unused

2017-02-06 Thread Linus Walleij
On Wed, Feb 1, 2017 at 5:16 PM, Arnd Bergmann wrote: > The rework of the suspend/resume handling uses the wrong #ifdef check, leading > to a build warning without CONFIG_PM_SLEEP: > > drivers/pinctrl/samsung/pinctrl-samsung.c:1142:12: error: > 'samsung_pinctrl_resume' defined but not used

Re: [PATCH] pinctrl: samsung: mark PM functions as __maybe_unused

2017-02-01 Thread Marek Szyprowski
Hi Arnd, On 2017-02-01 17:16, Arnd Bergmann wrote: The rework of the suspend/resume handling uses the wrong #ifdef check, leading to a build warning without CONFIG_PM_SLEEP: drivers/pinctrl/samsung/pinctrl-samsung.c:1142:12: error: 'samsung_pinctrl_resume' defined but not used

Re: [PATCH] pinctrl: samsung: mark PM functions as __maybe_unused

2017-02-01 Thread Marek Szyprowski
Hi Arnd, On 2017-02-01 17:16, Arnd Bergmann wrote: The rework of the suspend/resume handling uses the wrong #ifdef check, leading to a build warning without CONFIG_PM_SLEEP: drivers/pinctrl/samsung/pinctrl-samsung.c:1142:12: error: 'samsung_pinctrl_resume' defined but not used

[PATCH] pinctrl: samsung: mark PM functions as __maybe_unused

2017-02-01 Thread Arnd Bergmann
The rework of the suspend/resume handling uses the wrong #ifdef check, leading to a build warning without CONFIG_PM_SLEEP: drivers/pinctrl/samsung/pinctrl-samsung.c:1142:12: error: 'samsung_pinctrl_resume' defined but not used [-Werror=unused-function]

[PATCH] pinctrl: samsung: mark PM functions as __maybe_unused

2017-02-01 Thread Arnd Bergmann
The rework of the suspend/resume handling uses the wrong #ifdef check, leading to a build warning without CONFIG_PM_SLEEP: drivers/pinctrl/samsung/pinctrl-samsung.c:1142:12: error: 'samsung_pinctrl_resume' defined but not used [-Werror=unused-function]