regulator: twl6030: remove redundant range check min_uV > 1300000 && min_uV <= 1350000
[linux-2.6-microblaze.git] / drivers / regulator / twl6030-regulator.c
index 4864b9d..edaf93c 100644 (file)
@@ -456,8 +456,6 @@ static int twl6030smps_map_voltage(struct regulator_dev *rdev, int min_uV,
                        vsel = 60;
                else if ((min_uV > 1350000) && (min_uV <= 1500000))
                        vsel = 59;
-               else if ((min_uV > 1300000) && (min_uV <= 1350000))
-                       vsel = 58;
                else
                        return -EINVAL;
                break;