commit | 6b37729bd184fdd44f144c6cc4951b06b55bcf4b | [log] [tgz] |
---|---|---|
author | Peter Huewe <peterhuewe@gmx.de> | Mon Mar 16 22:26:21 2015 +0100 |
committer | Peter Huewe <peterhuewe@gmx.de> | Wed Mar 18 22:43:08 2015 +0100 |
tree | 0ead610ac95b4ea1b90def25a8da2998254c0e1b | |
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>