Skip to content
Commit 32260308 authored by Pali Rohár's avatar Pali Rohár Committed by Anton Vorontsov
Browse files

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: default avatarPali Rohár <pali.rohar@gmail.com>
Reviewed-by: default avatarPavel Machek <pavel@ucw.cz>
Signed-off-by: default avatarAnton Vorontsov <anton@enomsg.org>
parent 56fb8de5
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment