summaryrefslogtreecommitdiffstats
path: root/drivers/char/bfin-otp.c
diff options
context:
space:
mode:
authorShawn Nematbakhsh <shawnn@chromium.org>2017-06-13 10:53:26 -0700
committerSebastian Reichel <sre@kernel.org>2017-06-15 16:52:04 +0200
commitbfa953d336cdd713f6968c85ca820ef22333dc35 (patch)
tree593bf3ea4eb109e821fbde4fff49c4675e5735ec /drivers/char/bfin-otp.c
parentfe8a6534396807b8a0863cd146b72c0bce0b0c88 (diff)
downloadblackbird-op-linux-bfa953d336cdd713f6968c85ca820ef22333dc35.tar.gz
blackbird-op-linux-bfa953d336cdd713f6968c85ca820ef22333dc35.zip
power: supply: sbs-battery: Don't needlessly set CAPACITY_MODE
According to the smart battery spec (1), the CAPACITY_MODE bit does not influence the value read from RelativeStateOfCharge(), so don't bother changing CAPACITY_MODE when doing such a read. (1) - Smart Battery Data Specification, Rev 1.1, Dec. 11, 1998 Signed-off-by: Shawn Nematbakhsh <shawnn@chromium.org> Reviewed-by: Guenter Roeck <groeck@chromium.org> Signed-off-by: Sebastian Reichel <sebastian.reichel@collabora.co.uk>
Diffstat (limited to 'drivers/char/bfin-otp.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud