Re: [PATCH] leds: gpio: Add pinctrl PM select sleep,default state in suspend/resume

From: Andy Shevchenko
Date: Fri Jan 20 2017 - 16:13:51 EST


On Fri, Jan 20, 2017 at 6:45 PM, Enric Balletbo i Serra
<enric.balletbo@xxxxxxxxxxxxx> wrote:
> This patch allows users to use an alternate pinctrl "sleep" in order to
> clamp outputs to a wanted state at suspend.

> +#ifdef CONFIG_PM_SLEEP
> +static int gpio_led_suspend(struct device *dev)

Switch to __maybe_unused

--
With Best Regards,
Andy Shevchenko