Home
last modified time | relevance | path

Searched hist:"419 d06a1cf58d9b99b25b5f578418b80070043a3" (Results 1 – 1 of 1) sorted by relevance

/openbmc/linux/drivers/regulator/
H A Dqcom_spmi-regulator.cdiff 419d06a1cf58d9b99b25b5f578418b80070043a3 Wed Jun 17 19:50:39 CDT 2015 Axel Lin <axel.lin@ingics.com> 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>