summaryrefslogtreecommitdiff
path: root/drivers/regulator/core.c
diff options
context:
space:
mode:
authorColin Ian King <colin.king@canonical.com>2017-03-24 17:13:50 +0000
committerMark Brown <broonie@kernel.org>2017-03-24 18:41:02 +0000
commitc635df496a5c397fd078b4e72a42e1be79632d7d (patch)
treedd111ced36a03fb19a94919d4f095b88bc7d47bd /drivers/regulator/core.c
parentd00b74613fb18dfd0a5aa99270ee2e72d5c808d7 (diff)
regulator: twl6030: remove redundant range check min_uV > 1300000 && min_uV <= 1350000
It has been pointed out to me that the range for vsel = 58 is actually dead code as this is covered by an earlier check for (min_uV >= 700000) && (min_uV <= 1420000) so remove that check completely. Reported-by: Alban Auzeill <alban.auzeill@sonarsource.com> Signed-off-by: Colin Ian King <colin.king@canonical.com> Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'drivers/regulator/core.c')
0 files changed, 0 insertions, 0 deletions