aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/char/tpm/tpm_tis.c
diff options
context:
space:
mode:
authorRafael J. Wysocki <rjw@sisk.pl>2012-07-06 13:09:01 -0400
committerRafael J. Wysocki <rjw@sisk.pl>2012-07-10 15:36:57 -0400
commit035e2ce8eb7412dbcb8522c19676a1dd52f3c024 (patch)
tree737e8eb65f06d8358a2d9e128b564376a6a26a53 /drivers/char/tpm/tpm_tis.c
parent7650572a8baa79d317ca5d37a7998593ff0767af (diff)
PM / TPM: Drop unused pm_message_t argument from tpm_pm_suspend()
The tpm_pm_suspend()'s second argument of type pm_message_t is not used, so remove it. Signed-off-by: Rafael J. Wysocki <rjw@sisk.pl>
Diffstat (limited to 'drivers/char/tpm/tpm_tis.c')
-rw-r--r--drivers/char/tpm/tpm_tis.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/char/tpm/tpm_tis.c b/drivers/char/tpm/tpm_tis.c
index d2a70cae76df..555a643e88cd 100644
--- a/drivers/char/tpm/tpm_tis.c
+++ b/drivers/char/tpm/tpm_tis.c
@@ -750,7 +750,7 @@ static int __devinit tpm_tis_pnp_init(struct pnp_dev *pnp_dev,
750 750
751static int tpm_tis_pnp_suspend(struct pnp_dev *dev, pm_message_t msg) 751static int tpm_tis_pnp_suspend(struct pnp_dev *dev, pm_message_t msg)
752{ 752{
753 return tpm_pm_suspend(&dev->dev, msg); 753 return tpm_pm_suspend(&dev->dev);
754} 754}
755 755
756static int tpm_tis_pnp_resume(struct pnp_dev *dev) 756static int tpm_tis_pnp_resume(struct pnp_dev *dev)
@@ -808,7 +808,7 @@ MODULE_PARM_DESC(hid, "Set additional specific HID for this driver to probe");
808#endif 808#endif
809static int tpm_tis_suspend(struct platform_device *dev, pm_message_t msg) 809static int tpm_tis_suspend(struct platform_device *dev, pm_message_t msg)
810{ 810{
811 return tpm_pm_suspend(&dev->dev, msg); 811 return tpm_pm_suspend(&dev->dev);
812} 812}
813 813
814static int tpm_tis_resume(struct platform_device *dev) 814static int tpm_tis_resume(struct platform_device *dev)