Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 312767
b: refs/heads/master
c: 8324be0
h: refs/heads/master
i:
  312765: 94f97c1
  312763: 5e33a25
  312759: fc531cc
  312751: 73e3ecf
  312735: b50e3d9
  312703: 95e4bc1
v: v3
  • Loading branch information
Rafael J. Wysocki committed Jul 10, 2012
1 parent 5a1effd commit 2d99c79
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 11 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 035e2ce8eb7412dbcb8522c19676a1dd52f3c024
refs/heads/master: 8324be05380be044df8b70cb4bfb0c0b50eec3e5
12 changes: 2 additions & 10 deletions trunk/drivers/char/tpm/tpm_atmel.c
Original file line number Diff line number Diff line change
Expand Up @@ -168,22 +168,14 @@ static void atml_plat_remove(void)
}
}

static int tpm_atml_suspend(struct platform_device *dev, pm_message_t msg)
{
return tpm_pm_suspend(&dev->dev);
}
static SIMPLE_DEV_PM_OPS(tpm_atml_pm, tpm_pm_suspend, tpm_pm_resume);

static int tpm_atml_resume(struct platform_device *dev)
{
return tpm_pm_resume(&dev->dev);
}
static struct platform_driver atml_drv = {
.driver = {
.name = "tpm_atmel",
.owner = THIS_MODULE,
.pm = &tpm_atml_pm,
},
.suspend = tpm_atml_suspend,
.resume = tpm_atml_resume,
};

static int __init init_atmel(void)
Expand Down

0 comments on commit 2d99c79

Please sign in to comment.