summaryrefslogtreecommitdiffstats
path: root/kernel/locking/rtmutex.c
diff options
context:
space:
mode:
authorAxel Lin <axel.lin@ingics.com>2015-06-18 08:50:39 +0800
committerMark Brown <broonie@kernel.org>2015-06-19 16:28:17 +0100
commit419d06a1cf58d9b99b25b5f578418b80070043a3 (patch)
tree41f0419998d2d4d88905bf9cd04c166ca1d71beb /kernel/locking/rtmutex.c
parent9b2dfee3954e0b38a6a1b5305edd375defa8ad97 (diff)
downloadblackbird-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 'kernel/locking/rtmutex.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud