commit | b633f0507e19224f1527921644722bfb36db9bb0 | [log] [tgz] |
---|---|---|
author | Rafael J. Wysocki <rjw@sisk.pl> | Fri Jul 06 19:09:20 2012 +0200 |
committer | Rafael J. Wysocki <rjw@sisk.pl> | Tue Jul 10 21:37:11 2012 +0200 |
tree | caf9b8a1d74e3838f259cfc70e9e7cbf70934fa3 | |
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>