Re: [PATCH] Remove CONFIG_PM altogether, enable power managementall the time

From: Alan Stern
Date: Wed Feb 09 2011 - 15:09:48 EST


On Wed, 9 Feb 2011, Mark Brown wrote:

> On Wed, Feb 09, 2011 at 11:53:52AM -0800, Tim Bird wrote:

> > I'm confused. Do you plan to retain the option to
> > turn off PM features completely, or not? I thought that's
> > what CONFIG_PM did today.
>
> Raphael's patches do that in a much better way than my original patch,
> my original patch would have force CONFIG_PM on but still allowed all
> the PM features that it controls to be turned on and off individually.

Or to put it another way, if you enable any of CONFIG_PM_SUSPEND,
CONFIG_PM_HIBERNATION, or CONFIG_PM_RUNTIME, then CONFIG_PM will
automatically be turned on. Otherwise it will automatically be turned
off.

Alan Stern

--
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/