commit | e6fe3597fa17dcd7ee82a5198beadb19a457a478 | [log] [tgz] |
---|---|---|
author | Ramakrishna Pallala <ramakrishna.pallala@intel.com> | Thu Apr 19 10:00:18 2012 +0530 |
committer | Anton Vorontsov <anton.vorontsov@linaro.org> | Sat May 05 05:29:00 2012 -0700 |
tree | 8f62622cd7be07ab070cac1e37292e2bbeed60ea | |
parent | 2aac3de19b72608f474c90034185c2be4908728f [diff] |
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 <ramakrishna.pallala@intel.com> Signed-off-by: Anton Vorontsov <anton.vorontsov@linaro.org>