[PATCH 7/8] lp8727_charger: cleanup definitions

2012-08-30 Thread Kim, Milo
(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:

[PATCH 7/8] lp8727_charger: cleanup definitions

2012-08-30 Thread Kim, Milo
(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: