Commit 20ab4a7a authored by Mark Brown's avatar Mark Brown

Merge remote-tracking branch 'regulator/topic/as3711' into regulator-next

parents 45aae62d 09ca50d2
......@@ -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];
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment