power: supply: bq27xxx: adjust whitespace and use BIT() for bitflags
authorKrzysztof Kozlowski <krzk@kernel.org>
Sat, 19 Sep 2020 14:04:15 +0000 (16:04 +0200)
committerSebastian Reichel <sebastian.reichel@collabora.com>
Thu, 1 Oct 2020 22:01:42 +0000 (00:01 +0200)
commitbffa569fc9858aa04a763be6f4e6c91c76efb6d5
tree0f2526003777ab0ceee75bd100d7b31fa030ffaf
parent7bf738ba110722b63e9dc8af760d3fb2aef25593
power: supply: bq27xxx: adjust whitespace and use BIT() for bitflags

BIT() is a preferred way to toggle bit-like flags: no problems with 32/64
bit systems, less chances for mistakes.  Remove also unneeded
whitespace.

Signed-off-by: Krzysztof Kozlowski <krzk@kernel.org>
Signed-off-by: Sebastian Reichel <sebastian.reichel@collabora.com>
drivers/power/supply/bq27xxx_battery.c