diff options
author | Peter Huewe <peterhuewe@gmx.de> | 2015-03-16 22:26:21 +0100 |
---|---|---|
committer | Peter Huewe <peterhuewe@gmx.de> | 2015-03-18 22:43:08 +0100 |
commit | 6b37729bd184fdd44f144c6cc4951b06b55bcf4b (patch) | |
tree | 0ead610ac95b4ea1b90def25a8da2998254c0e1b /lib/btree.c | |
parent | ce93b4b086b6497bb5809ba706dd9caa39cadbbe (diff) |
tpm/tpm_infineon: Use struct dev_pm_ops for power management
Make the tpm_infineon driver define its PM callbacks through
a struct dev_pm_ops object rather than by using legacy PM hooks
in struct pnp_driver.
This allows the driver to use tpm_pm_suspend() as its suspend
callback directly, so we can remove the duplicated savestate code.
Signed-off-by: Peter Huewe <peterhuewe@gmx.de>
Diffstat (limited to 'lib/btree.c')
0 files changed, 0 insertions, 0 deletions