Re: [PATCH 2/2] PM / sleep: Make ->enter_freeze callbacks depend on CONFIG_SUSPEND

From: Peter Zijlstra
Date: Mon May 18 2015 - 08:18:51 EST


On Sat, May 16, 2015 at 01:38:48AM +0200, Rafael J. Wysocki wrote:
> From: Rafael J. Wysocki <rafael.j.wysocki@xxxxxxxxx>
>
> The ->enter_freeze callbacks of cpuidle drivers are only used if
> CONFIG_SUSPEND is set, so make them explicitly depend on that
> Kconfig option.

No real objection, but is it worth it to sprinkle that CONFIG stuff over
all drivers?
--
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/