Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 250503
b: refs/heads/master
c: 9cc7c80
h: refs/heads/master
i:
  250501: 5904599
  250499: e3cf501
  250495: 768805a
v: v3
  • Loading branch information
Dmitry Torokhov committed May 5, 2011
1 parent e04ce20 commit 431fcbf
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 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: 4296f1ad5aa513500a87a4709579d31be8ba461f
refs/heads/master: 9cc7c80b57c66d08e67f297169783d1f07288066
8 changes: 4 additions & 4 deletions trunk/drivers/input/keyboard/sh_keysc.c
Original file line number Diff line number Diff line change
Expand Up @@ -291,6 +291,7 @@ static int __devexit sh_keysc_remove(struct platform_device *pdev)
return 0;
}

#if CONFIG_PM_SLEEP
static int sh_keysc_suspend(struct device *dev)
{
struct platform_device *pdev = to_platform_device(dev);
Expand Down Expand Up @@ -323,11 +324,10 @@ static int sh_keysc_resume(struct device *dev)

return 0;
}
#endif

static const struct dev_pm_ops sh_keysc_dev_pm_ops = {
.suspend = sh_keysc_suspend,
.resume = sh_keysc_resume,
};
static SIMPLE_DEV_PM_OPS(sh_keysc_dev_pm_ops,
sh_keysc_suspend, sh_keysc_resume);

static struct platform_driver sh_keysc_device_driver = {
.probe = sh_keysc_probe,
Expand Down

0 comments on commit 431fcbf

Please sign in to comment.