(a) add prefix LP8727_ for definitions
(b) replace lp8727_dev_id with lp8727_charger_type
(c) use one LP8727_STAT_EOC definition rather than enum type lp8727_chg_stat
: charger status definitions are not used except EOC status
(d) use LP8727_ICHG_SHIFT rather than magic number
Signed-off-by:
(a) add prefix LP8727_ for definitions
(b) replace lp8727_dev_id with lp8727_charger_type
(c) use one LP8727_STAT_EOC definition rather than enum type lp8727_chg_stat
: charger status definitions are not used except EOC status
(d) use LP8727_ICHG_SHIFT rather than magic number
Signed-off-by:
2 matches
Mail list logo