diff options
author | 2012-07-06 19:09:20 +0200 | |
---|---|---|
committer | 2012-07-10 21:37:11 +0200 | |
commit | b633f0507e19224f1527921644722bfb36db9bb0 (patch) | |
tree | caf9b8a1d74e3838f259cfc70e9e7cbf70934fa3 /lib/mpi/mpiutil.c | |
parent | tpm_atmel: Use struct dev_pm_ops for power management (diff) | |
download | linux-dev-b633f0507e19224f1527921644722bfb36db9bb0.tar.xz linux-dev-b633f0507e19224f1527921644722bfb36db9bb0.zip |
tpm_tis: Use struct dev_pm_ops for power management
Make the tpm_tis 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() as its suspend
callback directly, without defining its own suspend callback
routine.
Signed-off-by: Rafael J. Wysocki <rjw@sisk.pl>
Diffstat (limited to 'lib/mpi/mpiutil.c')
0 files changed, 0 insertions, 0 deletions