Re: [PATCH] char/tpm: Use struct dev_pm_ops for power management

From: Peter Hüwe
Date: Fri Dec 07 2012 - 22:55:04 EST


Am Donnerstag, 6. Dezember 2012, 17:27:02 schrieb Kent Yoder:
> On Thu, Dec 06, 2012 at 01:20:51AM +0100, Peter Huewe wrote:
> > This patch converts the suspend and resume functions for
> > tpm_i2c_stm_st33 to the new dev_pm_ops.
> >
> > Signed-off-by: Peter Huewe <peterhuewe@xxxxxx>
>
> One minor tweak, the PM funcs need to be inside CONFIG_PM_SLEEP to
> avoid warnings when compiled without PM support. Applied with that
> change only.
>
> Thanks Peter!
> Kent
Great to hear!

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