Skip to content

Commit

Permalink
Merge remote-tracking branch 'regulator/fix/tps80031' into tmp
Browse files Browse the repository at this point in the history
  • Loading branch information
Mark Brown committed Jan 29, 2013
2 parents 3c3a6aa + d4cbca9 commit 1433d09
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/regulator/tps80031-regulator.c
Original file line number Diff line number Diff line change
Expand Up @@ -728,7 +728,7 @@ static int tps80031_regulator_probe(struct platform_device *pdev)
}
}
rdev = regulator_register(&ri->rinfo->desc, &config);
if (IS_ERR_OR_NULL(rdev)) {
if (IS_ERR(rdev)) {
dev_err(&pdev->dev,
"register regulator failed %s\n",
ri->rinfo->desc.name);
Expand Down

0 comments on commit 1433d09

Please sign in to comment.