mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-11-28 22:54:05 +08:00
Merge remote-tracking branch 'regulator/fix/tps80031' into tmp
This commit is contained in:
commit
1433d0905f
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user