From: Ramakrishna Pallala Date: Thu, 19 Apr 2012 04:30:18 +0000 (+0530) Subject: smb347_charger: Cleanup power supply registration code in probe X-Git-Tag: v3.5-rc1~23^2~13 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e6fe3597fa17dcd7ee82a5198beadb19a457a478;p=pandora-kernel.git smb347_charger: Cleanup power supply registration code in probe This patch checks if the usb or mains charging is enabled by the platform before registering with the power supply class. Signed-off-by: Ramakrishna Pallala Signed-off-by: Anton Vorontsov --- Reading git-diff-tree failed