Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 273399
b: refs/heads/master
c: 4a2a734
h: refs/heads/master
i:
  273397: d63575e
  273395: c5779da
  273391: eb0cea7
v: v3
  • Loading branch information
Philippe Rétornaz authored and Samuel Ortiz committed Oct 24, 2011
1 parent 618da7a commit 6047724
Show file tree
Hide file tree
Showing 2 changed files with 3 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: a980bf73ba8ff76e6fab0644513c1127d852d0a8
refs/heads/master: 4a2a734306a6e3cc7766d2117ec142de9262f217
6 changes: 2 additions & 4 deletions trunk/drivers/mfd/mc13xxx-core.c
Original file line number Diff line number Diff line change
Expand Up @@ -750,10 +750,8 @@ static int mc13xxx_probe(struct spi_device *spi)
if (pdata->flags & MC13XXX_USE_CODEC)
mc13xxx_add_subdevice(mc13xxx, "%s-codec");

if (pdata->flags & MC13XXX_USE_REGULATOR) {
mc13xxx_add_subdevice_pdata(mc13xxx, "%s-regulator",
&pdata->regulators, sizeof(pdata->regulators));
}
mc13xxx_add_subdevice_pdata(mc13xxx, "%s-regulator",
&pdata->regulators, sizeof(pdata->regulators));

if (pdata->flags & MC13XXX_USE_RTC)
mc13xxx_add_subdevice(mc13xxx, "%s-rtc");
Expand Down

0 comments on commit 6047724

Please sign in to comment.