Re: [PATCH] GPIO/pl061: Add suspend resume capability

From: Viresh Kumar
Date: Thu Nov 17 2011 - 23:03:23 EST


On 11/18/2011 2:04 AM, Rafael J. Wysocki wrote:
>> > +static const struct dev_pm_ops pl061_dev_pm_ops = {
>> > + .suspend = pl061_suspend,
>> > + .resume = pl061_resume,
> Please also include hibernation callbacks here, otherwise your code will
> break systems with hibernation enabled.
>
> There are convenience macros for that in linux/pm.h, please use one of them.

Sure. Thanx.

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