commit | 8324be05380be044df8b70cb4bfb0c0b50eec3e5 | [log] [tgz] |
---|---|---|
author | Rafael J. Wysocki <rjw@sisk.pl> | Fri Jul 06 19:09:13 2012 +0200 |
committer | Rafael J. Wysocki <rjw@sisk.pl> | Tue Jul 10 21:37:02 2012 +0200 |
tree | 0a24c5ab2c8893bbf532055580f4e72f35ff59a1 | |
parent | 035e2ce8eb7412dbcb8522c19676a1dd52f3c024 [diff] |
tpm_atmel: Use struct dev_pm_ops for power management Make the tpm_atmel driver define its PM callbacks through a struct dev_pm_ops object rather than by using legacy PM hooks in struct platform_driver. This allows the driver to use tpm_pm_suspend() and tpm_pm_resume() as its PM callbacks directly, without defining its own PM callback routines. Signed-off-by: Rafael J. Wysocki <rjw@sisk.pl>