summaryrefslogtreecommitdiffstats
path: root/drivers/char/tpm/tpm_nsc.c
diff options
context:
space:
mode:
authorRafael J. Wysocki <rjw@sisk.pl>2012-07-06 19:09:01 +0200
committerRafael J. Wysocki <rjw@sisk.pl>2012-07-10 21:36:57 +0200
commit035e2ce8eb7412dbcb8522c19676a1dd52f3c024 (patch)
tree737e8eb65f06d8358a2d9e128b564376a6a26a53 /drivers/char/tpm/tpm_nsc.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_nsc.c')
-rw-r--r--drivers/char/tpm/tpm_nsc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/char/tpm/tpm_nsc.c b/drivers/char/tpm/tpm_nsc.c
index 4d2464871ad..8e996575bdb 100644
--- a/drivers/char/tpm/tpm_nsc.c
+++ b/drivers/char/tpm/tpm_nsc.c
@@ -276,7 +276,7 @@ static void tpm_nsc_remove(struct device *dev)
static int tpm_nsc_suspend(struct platform_device *dev, pm_message_t msg)
{
- return tpm_pm_suspend(&dev->dev, msg);
+ return tpm_pm_suspend(&dev->dev);
}
static int tpm_nsc_resume(struct platform_device *dev)