]> git.baikalelectronics.ru Git - kernel.git/commit
power: supply: bq24735: remove incorrect le16_to_cpu calls
authorPhil Reid <preid@electromag.com.au>
Thu, 15 Jun 2017 13:59:30 +0000 (21:59 +0800)
committerSebastian Reichel <sebastian.reichel@collabora.co.uk>
Thu, 15 Jun 2017 14:47:35 +0000 (16:47 +0200)
commit04c941b413a387983ddfa723127c170f0b64450d
treea0d441e7a317f8b99a3d4feaed49db3f1628306a
parentce8410ed48eec56cfe4dc6f99e7d5d95df2a4795
power: supply: bq24735: 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/bq24735-charger.c