git.openpandora.org
/
pandora-kernel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ce93b4b
)
tpm/tpm_infineon: Use struct dev_pm_ops for power management
author
Peter Huewe
<peterhuewe@gmx.de>
Mon, 16 Mar 2015 21:26:21 +0000
(22:26 +0100)
committer
Peter Huewe
<peterhuewe@gmx.de>
Wed, 18 Mar 2015 21:43:08 +0000
(22:43 +0100)
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>
drivers/char/tpm/tpm_infineon.c
patch
|
blob
|
history
diff --cc
drivers/char/tpm/tpm_infineon.c
Simple merge