Merge remote-tracking branch 'regulator/for-linus' into regulator-next

This commit is contained in:
Mark Brown
2011-11-28 11:49:56 +00:00
450 changed files with 3846 additions and 3321 deletions

View File

@@ -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;