diff options
author | Rafael J. Wysocki <rjw@sisk.pl> | 2012-07-06 19:09:20 +0200 |
---|---|---|
committer | Rafael J. Wysocki <rjw@sisk.pl> | 2012-07-10 21:37:11 +0200 |
commit | b633f0507e19224f1527921644722bfb36db9bb0 (patch) | |
tree | caf9b8a1d74e3838f259cfc70e9e7cbf70934fa3 /drivers/char/ttyprintk.c | |
parent | 8324be05380be044df8b70cb4bfb0c0b50eec3e5 (diff) |
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 'drivers/char/ttyprintk.c')
0 files changed, 0 insertions, 0 deletions