Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 176032
b: refs/heads/master
c: 25993e4
h: refs/heads/master
v: v3
  • Loading branch information
Lars-Peter Clausen authored and Samuel Ortiz committed Dec 13, 2009
1 parent 39314a9 commit c3b067e
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 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: 06b1cc9c05aeb5c5400dbc3b139605334719a881
refs/heads/master: 25993e4e42c30063e3ea6ec89cfa901b3f34732b
12 changes: 6 additions & 6 deletions trunk/drivers/mfd/pcf50633-core.c
Original file line number Diff line number Diff line change
Expand Up @@ -485,13 +485,13 @@ pcf50633_client_dev_register(struct pcf50633 *pcf, const char *name,
}

#ifdef CONFIG_PM
static int pcf50633_suspend(struct device *dev, pm_message_t state)
static int pcf50633_suspend(struct i2c_client *client, pm_message_t state)
{
struct pcf50633 *pcf;
int ret = 0, i;
u8 res[5];

pcf = dev_get_drvdata(dev);
pcf = i2c_get_clientdata(client);

/* Make sure our interrupt handlers are not called
* henceforth */
Expand Down Expand Up @@ -526,12 +526,12 @@ static int pcf50633_suspend(struct device *dev, pm_message_t state)
return ret;
}

static int pcf50633_resume(struct device *dev)
static int pcf50633_resume(struct i2c_client *client)
{
struct pcf50633 *pcf;
int ret;

pcf = dev_get_drvdata(dev);
pcf = i2c_get_clientdata(client);

/* Write the saved mask registers */
ret = pcf50633_write_block(pcf, PCF50633_REG_INT1M,
Expand Down Expand Up @@ -689,12 +689,12 @@ static struct i2c_device_id pcf50633_id_table[] = {
static struct i2c_driver pcf50633_driver = {
.driver = {
.name = "pcf50633",
.suspend = pcf50633_suspend,
.resume = pcf50633_resume,
},
.id_table = pcf50633_id_table,
.probe = pcf50633_probe,
.remove = __devexit_p(pcf50633_remove),
.suspend = pcf50633_suspend,
.resume = pcf50633_resume,
};

static int __init pcf50633_init(void)
Expand Down

0 comments on commit c3b067e

Please sign in to comment.