From 6b37729bd184fdd44f144c6cc4951b06b55bcf4b Mon Sep 17 00:00:00 2001 From: Peter Huewe Date: Mon, 16 Mar 2015 22:26:21 +0100 Subject: [PATCH] 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 --- Reading git-format-patch failed