power: supply: bq24735: reorganize ChargeOption command macros
authorBruno Meneguele <bruno.meneguele@smartgreen.net>
Fri, 9 Jul 2021 14:27:30 +0000 (11:27 -0300)
committerSebastian Reichel <sre@kernel.org>
Fri, 13 Aug 2021 16:38:17 +0000 (18:38 +0200)
commit27a8ff4648f5f733026f43d991f651d5724bfa90
tree50d4cfd365294a0e76e26da556b24d47163ae027
parent2f5caa26a074854273194207a40b7ee81e51712d
power: supply: bq24735: reorganize ChargeOption command macros

Rename ChargeOption macros to match the others for ChargeCurrent and
ChargeVoltage and also separate the command & masks macros from the bits of
interest macros for each command.  This macro doesn't introduce any
functional change, only code re-org.

Signed-off-by: Bruno Meneguele <bruno.meneguele@smartgreen.net>
Signed-off-by: Sebastian Reichel <sebastian.reichel@collabora.com>
drivers/power/supply/bq24735-charger.c