regulator: use linear_ranges helper
[sfrench/cifs-2.6.git] / drivers / regulator / twl6030-regulator.c
index b8100c3cedad3fc91bebe9c2f09fb09b85d15b28..f7db250a75839ece685010fae72817613dadaddb 100644 (file)
@@ -495,7 +495,7 @@ static const struct regulator_ops twlsmps_ops = {
 };
 
 /*----------------------------------------------------------------------*/
-static const struct regulator_linear_range twl6030ldo_linear_range[] = {
+static const struct linear_range twl6030ldo_linear_range[] = {
        REGULATOR_LINEAR_RANGE(0, 0, 0, 0),
        REGULATOR_LINEAR_RANGE(1000000, 1, 24, 100000),
        REGULATOR_LINEAR_RANGE(2750000, 31, 31, 0),