aboutsummaryrefslogtreecommitdiff
path: root/drivers/power/da9030_battery.c
diff options
context:
space:
mode:
authorPali Rohár <pali.rohar@gmail.com>2013-11-19 11:18:04 +0100
committerAnton Vorontsov <anton@enomsg.org>2013-12-23 17:58:03 -0800
commit32260308b4cafcd71b1c0aac35675dc68120c33d (patch)
tree9d8b0c54b2e89b9ccf94b8143099da369af46e02 /drivers/power/da9030_battery.c
parent56fb8de53e20a853e1a919bf9fb25148ef7560cb (diff)
bq2415x_charger: Use power_supply notifier for automode
This patch removing set_mode_hook function from board data and replacing it with new string variable of notifier power supply device. After this change it is possible to add DT support because driver does not need specific board function anymore. Only static data and name of power supply device is required. Signed-off-by: Pali Rohár <pali.rohar@gmail.com> Reviewed-by: Pavel Machek <pavel@ucw.cz> Signed-off-by: Anton Vorontsov <anton@enomsg.org>
Diffstat (limited to 'drivers/power/da9030_battery.c')
0 files changed, 0 insertions, 0 deletions