]> git.baikalelectronics.ru Git - kernel.git/commit
power: supply: sbs-battery: remove incorrect le16_to_cpu calls
authorPhil Reid <preid@electromag.com.au>
Thu, 15 Jun 2017 13:59:29 +0000 (21:59 +0800)
committerSebastian Reichel <sebastian.reichel@collabora.co.uk>
Thu, 15 Jun 2017 14:45:55 +0000 (16:45 +0200)
commitf5d99151eb555671b40dbb7de14f52318ea1de42
tree096217848f38ba91fead25b26a9207c73c3ab0ef
parentb89c240df8e061702e0c7c7d79b437362c120778
power: supply: sbs-battery: remove incorrect le16_to_cpu calls

i2c_smbus commands handle the correct byte order for smbus transactions
internally. This will currently result in incorrect operation on big
endian systems.

Signed-off-by: Phil Reid <preid@electromag.com.au>
Signed-off-by: Sebastian Reichel <sebastian.reichel@collabora.co.uk>
drivers/power/supply/sbs-battery.c