Re: [PATCH] gpio: pch: Build context save/restore only for PM

From: Linus Walleij
Date: Thu Oct 02 2014 - 04:01:26 EST


On Thu, Oct 2, 2014 at 9:20 AM, Thierry Reding <thierry.reding@xxxxxxxxx> wrote:

> From: Thierry Reding <treding@xxxxxxxxxx>
>
> The pch_gpio_save_reg_conf() and pch_gpio_restore_reg_conf() functions
> are only used in pch_gpio_suspend() and pch_gpio_resume(), respectively.
> Since the latter are only built if PM is enabled, make the former build
> under the same conditions.
>
> Signed-off-by: Thierry Reding <treding@xxxxxxxxxx>

Patch applied.

Yours,
Linus Walleij
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/