diff options
author | Rafael J. Wysocki <rjw@sisk.pl> | 2012-07-06 19:09:01 +0200 |
---|---|---|
committer | Rafael J. Wysocki <rjw@sisk.pl> | 2012-07-10 21:36:57 +0200 |
commit | 035e2ce8eb7412dbcb8522c19676a1dd52f3c024 (patch) | |
tree | 737e8eb65f06d8358a2d9e128b564376a6a26a53 /drivers/char/tpm/tpm.c | |
parent | omap-rng: Use struct dev_pm_ops for power management (diff) | |
download | linux-035e2ce8eb7412dbcb8522c19676a1dd52f3c024.tar.xz linux-035e2ce8eb7412dbcb8522c19676a1dd52f3c024.zip |
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.c')
-rw-r--r-- | drivers/char/tpm/tpm.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/char/tpm/tpm.c b/drivers/char/tpm/tpm.c index ad7c7320dd1b..ae43ac55fc1e 100644 --- a/drivers/char/tpm/tpm.c +++ b/drivers/char/tpm/tpm.c @@ -1274,7 +1274,7 @@ static struct tpm_input_header savestate_header = { * We are about to suspend. Save the TPM state * so that it can be restored. */ -int tpm_pm_suspend(struct device *dev, pm_message_t pm_state) +int tpm_pm_suspend(struct device *dev) { struct tpm_chip *chip = dev_get_drvdata(dev); struct tpm_cmd_t cmd; |