Re: [PATCH] pm2301-charger: Fix suspend/resume

From: Anton Vorontsov
Date: Tue Apr 16 2013 - 22:06:30 EST


On Sat, Apr 13, 2013 at 01:20:07PM +0200, Lars-Peter Clausen wrote:
> The pm2301-charger driver implements runtime pm and at the same time uses the
> legacy pm callbacks for suspend and resume. This does not work since the I2C
> core wont look at the legacy pm callbacks if a driver has the 'pm' field set.
> This patch fixes it by moving over to dev_pm_ops for suspend/resume as well.
>
> Signed-off-by: Lars-Peter Clausen <lars@xxxxxxxxxx>
> ---

Applied, thanks a lot!

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