Merge remote-tracking branch 'regulator/for-linus' into regulator-next
This commit is contained in:
@@ -160,7 +160,7 @@ static struct aat2870_regulator *aat2870_get_regulator(int id)
|
||||
break;
|
||||
}
|
||||
|
||||
if (!ri)
|
||||
if (i == ARRAY_SIZE(aat2870_regulators))
|
||||
return NULL;
|
||||
|
||||
ri->enable_addr = AAT2870_LDO_EN;
|
||||
|
Reference in New Issue
Block a user