commit | 20ab4a7a792bc9cc4a71c945a81743be96a12126 | [log] [tgz] |
---|---|---|
author | Mark Brown <broonie@opensource.wolfsonmicro.com> | Tue Feb 19 12:42:31 2013 +0000 |
committer | Mark Brown <broonie@opensource.wolfsonmicro.com> | Tue Feb 19 12:42:31 2013 +0000 |
tree | 103ce8e8eb437cd99be972992be6c836161c39ae | |
parent | 45aae62ddd1463cd89a036f9fdf213ff2b7910b0 [diff] | |
parent | 09ca50d2ade7ed6b3b2653b771774cf360c3d56c [diff] |
Merge remote-tracking branch 'regulator/topic/as3711' into regulator-next
diff --git a/drivers/regulator/as3711-regulator.c b/drivers/regulator/as3711-regulator.c index 2f1341d..f0ba8c4 100644 --- a/drivers/regulator/as3711-regulator.c +++ b/drivers/regulator/as3711-regulator.c
@@ -303,7 +303,7 @@ 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 = ®s[id];