Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 251903
b: refs/heads/master
c: a771e36
h: refs/heads/master
i:
  251901: 466a934
  251899: fe6ed0e
  251895: 89e17d3
  251887: ef81e89
  251871: d85578f
  251839: 164d3b0
  251775: bec92d8
  251647: 810ff78
  251391: 8f1d36c
  250879: 8f06f45
  249855: 097017c
v: v3
  • Loading branch information
Samuel Ortiz committed May 26, 2011
1 parent 7f2b205 commit cf09b58
Show file tree
Hide file tree
Showing 3 changed files with 6 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: 1f235a3785dbcfb324ff228048b859a3bd1e1a59
refs/heads/master: a771e36e16e9fdacb2bb8d3b9be50be68f211b82
6 changes: 4 additions & 2 deletions trunk/drivers/mfd/ab3100-core.c
Original file line number Diff line number Diff line change
Expand Up @@ -949,8 +949,10 @@ static int __devinit ab3100_probe(struct i2c_client *client,
goto exit_no_ops;

/* Set up and register the platform devices. */
for (i = 0; i < ARRAY_SIZE(ab3100_devs); i++)
ab3100_devs[i].mfd_data = ab3100_plf_data;
for (i = 0; i < ARRAY_SIZE(ab3100_devs); i++) {
ab3100_devs[i].platform_data = ab3100_plf_data;
ab3100_devs[i].pdata_size = sizeof(struct ab3100_platform_data);
}

err = mfd_add_devices(&client->dev, 0, ab3100_devs,
ARRAY_SIZE(ab3100_devs), NULL, 0);
Expand Down
3 changes: 1 addition & 2 deletions trunk/drivers/regulator/ab3100.c
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,6 @@
#include <linux/platform_device.h>
#include <linux/regulator/driver.h>
#include <linux/mfd/abx500.h>
#include <linux/mfd/core.h>

/* LDO registers and some handy masking definitions for AB3100 */
#define AB3100_LDO_A 0x40
Expand Down Expand Up @@ -582,7 +581,7 @@ ab3100_regulator_desc[AB3100_NUM_REGULATORS] = {

static int __devinit ab3100_regulators_probe(struct platform_device *pdev)
{
struct ab3100_platform_data *plfdata = mfd_get_data(pdev);
struct ab3100_platform_data *plfdata = pdev->dev.platform_data;
int err = 0;
u8 data;
int i;
Expand Down

0 comments on commit cf09b58

Please sign in to comment.