From: Pali Rohár Date: Tue, 19 Nov 2013 10:18:04 +0000 (+0100) Subject: bq2415x_charger: Use power_supply notifier for automode X-Git-Tag: v3.14-rc1~141^2~9 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=32260308b4cafcd71b1c0aac35675dc68120c33d;p=pandora-kernel.git 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 Reviewed-by: Pavel Machek Signed-off-by: Anton Vorontsov --- Reading git-diff-tree failed