Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 133322
b: refs/heads/master
c: 4997692
h: refs/heads/master
v: v3
  • Loading branch information
Magnus Damm authored and Paul Mundt committed Mar 11, 2009
1 parent 8c84d09 commit fabf2de
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 6 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: 4a55026fd7a08074676e87932578ff9e327e82a3
refs/heads/master: 49976927de5c52c415d4809c7d56700cc8ff4215
7 changes: 2 additions & 5 deletions trunk/drivers/input/keyboard/sh_keysc.c
Original file line number Diff line number Diff line change
Expand Up @@ -257,13 +257,10 @@ static int __devexit sh_keysc_remove(struct platform_device *pdev)

static int sh_keysc_suspend(struct device *dev)
{
struct platform_device *pdev;
struct sh_keysc_priv *priv;
struct platform_device *pdev = to_platform_device(dev);
struct sh_keysc_priv *priv = platform_get_drvdata(pdev);
unsigned short value;

pdev = container_of(dev, struct platform_device, dev);
priv = platform_get_drvdata(pdev);

value = ioread16(priv->iomem_base + KYCR1_OFFS);

if (device_may_wakeup(dev))
Expand Down

0 comments on commit fabf2de

Please sign in to comment.