diff options
author | Axel Lin <axel.lin@ingics.com> | 2015-06-18 08:50:39 +0800 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2015-06-19 16:28:17 +0100 |
commit | 419d06a1cf58d9b99b25b5f578418b80070043a3 (patch) | |
tree | 41f0419998d2d4d88905bf9cd04c166ca1d71beb /drivers/net/ethernet/broadcom/bnx2x/bnx2x_vfpf.c | |
parent | 9b2dfee3954e0b38a6a1b5305edd375defa8ad97 (diff) | |
download | blackbird-obmc-linux-419d06a1cf58d9b99b25b5f578418b80070043a3.tar.gz blackbird-obmc-linux-419d06a1cf58d9b99b25b5f578418b80070043a3.zip |
regulator: qcom_spmi: Fix calculating number of voltages
n /= range->step_uV + 1; is equivalent to n /= (range->step_uV + 1);
which is wrong. Fix it.
Signed-off-by: Axel Lin <axel.lin@ingics.com>
Acked-by: Stephen Boyd <sboyd@codeaurora.org>
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'drivers/net/ethernet/broadcom/bnx2x/bnx2x_vfpf.c')
0 files changed, 0 insertions, 0 deletions