Skip to content

Commit

Permalink
Merge remote-tracking branch 'regulator/topic/as3711' into regulator-…
Browse files Browse the repository at this point in the history
…next
  • Loading branch information
Mark Brown committed Feb 19, 2013
2 parents 45aae62 + 09ca50d commit 20ab4a7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/regulator/as3711-regulator.c
Original file line number Diff line number Diff line change
Expand Up @@ -303,7 +303,7 @@ static int as3711_regulator_probe(struct platform_device *pdev)
reg_data = pdata ? pdata->init_data[id] : NULL;

/* No need to register if there is no regulator data */
if (!ri->desc.name)
if (!reg_data)
continue;

reg = &regs[id];
Expand Down

0 comments on commit 20ab4a7

Please sign in to comment.