Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 294016
b: refs/heads/master
c: f79e30a
h: refs/heads/master
v: v3
  • Loading branch information
Viresh Kumar authored and Dmitry Torokhov committed Feb 28, 2012
1 parent 6c666e7 commit ff924c4
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 8 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: f8354c60ca2212810c168d8f992559226c8c0e71
refs/heads/master: f79e30a809d829d094c0e33d3279c43aca71472f
9 changes: 2 additions & 7 deletions trunk/drivers/input/keyboard/spear-keyboard.c
Original file line number Diff line number Diff line change
Expand Up @@ -313,22 +313,17 @@ static int spear_kbd_resume(struct device *dev)

return 0;
}

static const struct dev_pm_ops spear_kbd_pm_ops = {
.suspend = spear_kbd_suspend,
.resume = spear_kbd_resume,
};
#endif

static SIMPLE_DEV_PM_OPS(spear_kbd_pm_ops, spear_kbd_suspend, spear_kbd_resume);

static struct platform_driver spear_kbd_driver = {
.probe = spear_kbd_probe,
.remove = __devexit_p(spear_kbd_remove),
.driver = {
.name = "keyboard",
.owner = THIS_MODULE,
#ifdef CONFIG_PM
.pm = &spear_kbd_pm_ops,
#endif
},
};
module_platform_driver(spear_kbd_driver);
Expand Down

0 comments on commit ff924c4

Please sign in to comment.