From e6fe3597fa17dcd7ee82a5198beadb19a457a478 Mon Sep 17 00:00:00 2001 From: Ramakrishna Pallala Date: Thu, 19 Apr 2012 10:00:18 +0530 Subject: [PATCH] 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-format-patch failed