mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2025-01-09 07:14:48 +08:00
Merge remote-tracking branch 'regulator/topic/as3711' into regulator-next
This commit is contained in:
commit
20ab4a7a79
@ -303,7 +303,7 @@ static int as3711_regulator_probe(struct platform_device *pdev)
|
|||||||
reg_data = pdata ? pdata->init_data[id] : NULL;
|
reg_data = pdata ? pdata->init_data[id] : NULL;
|
||||||
|
|
||||||
/* No need to register if there is no regulator data */
|
/* No need to register if there is no regulator data */
|
||||||
if (!ri->desc.name)
|
if (!reg_data)
|
||||||
continue;
|
continue;
|
||||||
|
|
||||||
reg = ®s[id];
|
reg = ®s[id];
|
||||||
|
Loading…
Reference in New Issue
Block a user