diff options
author | Colin Ian King <colin.king@canonical.com> | 2017-03-24 20:13:50 +0300 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2017-03-24 21:41:02 +0300 |
commit | c635df496a5c397fd078b4e72a42e1be79632d7d (patch) | |
tree | dd111ced36a03fb19a94919d4f095b88bc7d47bd /include/linux/mfd/cros_ec.h | |
parent | d00b74613fb18dfd0a5aa99270ee2e72d5c808d7 (diff) | |
download | linux-c635df496a5c397fd078b4e72a42e1be79632d7d.tar.xz |
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 'include/linux/mfd/cros_ec.h')
0 files changed, 0 insertions, 0 deletions