Re: [PATCH 2/5] rtc: tegra: Use struct dev_pm_ops for powermanagement

From: Thierry Reding
Date: Sun Mar 10 2013 - 18:32:32 EST


On Sat, Mar 09, 2013 at 11:39:46PM +0530, Laxman Dewangan wrote:
[...]
> @@ -431,6 +429,10 @@ static int tegra_rtc_resume(struct platform_device *pdev)
> }
> #endif
>
> +static const struct dev_pm_ops tegra_rtc_pm_ops = {
> + SET_SYSTEM_SLEEP_PM_OPS(tegra_rtc_suspend, tegra_rtc_resume)
> +};

SIMPLE_DEV_PM_OPS?

Attachment: pgp00000.pgp
Description: PGP signature