bq2415x_charger: Add support for offline and 100mA mode
authorPali Rohár <pali.rohar@gmail.com>
Sun, 10 Feb 2013 17:32:18 +0000 (18:32 +0100)
committerAnton Vorontsov <anton@enomsg.org>
Sat, 16 Feb 2013 21:34:10 +0000 (13:34 -0800)
commitac6324e7021dfa917ce4f9a836318c3e46fbb84e
tree74dcd582e083fbf8c82e3146e89b84bb6e8d1295
parent64d26f225fefe06c870634e7bfe026a063e7f776
bq2415x_charger: Add support for offline and 100mA mode

* Renamed mode BQ2415X_MODE_NONE to BQ2415X_MODE_OFF because this mode
  turning chaging completly off

* Added new mode BQ2415X_MODE_NONE which enable charging with maximal
  current limit 100mA (this is minimal safe value for bq2415x chips)

Signed-off-by: Pali Rohár <pali.rohar@gmail.com>
Signed-off-by: Anton Vorontsov <anton@enomsg.org>
drivers/power/bq2415x_charger.c
include/linux/power/bq2415x_charger.h