diff options
author | Rafael J. Wysocki <rjw@sisk.pl> | 2012-07-06 21:09:13 +0400 |
---|---|---|
committer | Rafael J. Wysocki <rjw@sisk.pl> | 2012-07-10 23:37:02 +0400 |
commit | 8324be05380be044df8b70cb4bfb0c0b50eec3e5 (patch) | |
tree | 0a24c5ab2c8893bbf532055580f4e72f35ff59a1 /drivers/char/pc8736x_gpio.c | |
parent | 035e2ce8eb7412dbcb8522c19676a1dd52f3c024 (diff) | |
download | linux-8324be05380be044df8b70cb4bfb0c0b50eec3e5.tar.xz |
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>
Diffstat (limited to 'drivers/char/pc8736x_gpio.c')
0 files changed, 0 insertions, 0 deletions