Messages in this thread | | | Date | Sat, 18 Aug 2012 20:46:20 +0200 | From | Wolfram Sang <> | Subject | Re: [PATCH V2] i2c: tegra: protect suspend/resume callbacks with CONFIG_PM_SLEEP |
| |
On Sat, Aug 18, 2012 at 05:49:58PM +0530, Laxman Dewangan wrote: > The CONFIG_PM doesn't actually enable any of the PM callbacks, it > only allows to enable CONFIG_PM_SLEEP and CONFIG_PM_RUNTIME. > This means if CONFIG_PM is used to protect system sleep callbacks > then it may end up unreferenced if only runtime PM is enabled. > Hence protecting sleep callbacks with CONFIG_PM_SLEEP. > > Signed-off-by: Laxman Dewangan <ldewangan@nvidia.com>
Applied to -current, thanks!
-- Pengutronix e.K. | Wolfram Sang | Industrial Linux Solutions | http://www.pengutronix.de/ | [unhandled content-type:application/pgp-signature] | |