Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 363168
b: refs/heads/master
c: 39d7916
h: refs/heads/master
v: v3
  • Loading branch information
Jingoo Han authored and Greg Kroah-Hartman committed Mar 29, 2013
1 parent 0a24984 commit 4809503
Show file tree
Hide file tree
Showing 2 changed files with 2 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: 0ca19d6f5feb57dcd5645c0761282e1b9fc3afcb
refs/heads/master: 39d791649781f6bb6937a217764a928b660375e2
6 changes: 1 addition & 5 deletions trunk/drivers/misc/apds990x.c
Original file line number Diff line number Diff line change
Expand Up @@ -1201,7 +1201,7 @@ static int apds990x_remove(struct i2c_client *client)
return 0;
}

#ifdef CONFIG_PM
#ifdef CONFIG_PM_SLEEP
static int apds990x_suspend(struct device *dev)
{
struct i2c_client *client = container_of(dev, struct i2c_client, dev);
Expand All @@ -1224,10 +1224,6 @@ static int apds990x_resume(struct device *dev)

return 0;
}
#else
#define apds990x_suspend NULL
#define apds990x_resume NULL
#define apds990x_shutdown NULL
#endif

#ifdef CONFIG_PM_RUNTIME
Expand Down

0 comments on commit 4809503

Please sign in to comment.