Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 273412
b: refs/heads/master
c: 677df0c
h: refs/heads/master
v: v3
  • Loading branch information
Jesper Juhl authored and Samuel Ortiz committed Oct 24, 2011
1 parent ec2babd commit 780c225
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 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: 2f8491d321d9313dfd854001dd196fd7835b6ac2
refs/heads/master: 677df0c9012ca3a6e0081f29f81506e5578d74f3
6 changes: 3 additions & 3 deletions trunk/drivers/mfd/tps65912-core.c
Original file line number Diff line number Diff line change
Expand Up @@ -131,9 +131,6 @@ int tps65912_device_init(struct tps65912 *tps65912)
if (init_data == NULL)
return -ENOMEM;

init_data->irq = pmic_plat_data->irq;
init_data->irq_base = pmic_plat_data->irq;

mutex_init(&tps65912->io_mutex);
dev_set_drvdata(tps65912->dev, tps65912);

Expand All @@ -153,10 +150,13 @@ int tps65912_device_init(struct tps65912 *tps65912)
if (ret < 0)
goto err;

init_data->irq = pmic_plat_data->irq;
init_data->irq_base = pmic_plat_data->irq;
ret = tps65912_irq_init(tps65912, init_data->irq, init_data);
if (ret < 0)
goto err;

kfree(init_data);
return ret;

err:
Expand Down

0 comments on commit 780c225

Please sign in to comment.