summaryrefslogtreecommitdiffstats
path: root/drivers/pnp/interface.c
diff options
context:
space:
mode:
authorPali Rohár <pali.rohar@gmail.com>2010-05-24 20:52:13 +0200
committerLars-Peter Clausen <lars@metafoo.de>2011-02-22 11:02:39 +0100
commita2e5118c370e78c3841606e7edc7677c986325fa (patch)
treed733f4420cdca08ff36f417e91e8efb233f51fca /drivers/pnp/interface.c
parentbq27x00: Improve temperature property precession (diff)
downloadlinux-a2e5118c370e78c3841606e7edc7677c986325fa.tar.xz
linux-a2e5118c370e78c3841606e7edc7677c986325fa.zip
bq27x00: Fix CURRENT_NOW property
According to the bq27000 datasheet the current should be calculated by the following formula: current = AI * 3570 / 20 This patch adjust the drivers code accordingly. Signed-off-by: Pali Rohár <pali.rohar@gmail.com> Signed-off-by: Lars-Peter Clausen <lars@metafoo.de> Acked-by: Rodolfo Giometti <giometti@linux.it> Tested-by: Grazvydas Ignotas <notasas@gmail.com>
Diffstat (limited to 'drivers/pnp/interface.c')
0 files changed, 0 insertions, 0 deletions