diff options
author | Ramakrishna Pallala <ramakrishna.pallala@intel.com> | 2012-04-19 06:30:18 +0200 |
---|---|---|
committer | Anton Vorontsov <anton.vorontsov@linaro.org> | 2012-05-05 14:29:00 +0200 |
commit | e6fe3597fa17dcd7ee82a5198beadb19a457a478 (patch) | |
tree | 8f62622cd7be07ab070cac1e37292e2bbeed60ea /drivers/char/sonypi.c | |
parent | ab8500: Clean up probe routines (diff) | |
download | linux-e6fe3597fa17dcd7ee82a5198beadb19a457a478.tar.xz linux-e6fe3597fa17dcd7ee82a5198beadb19a457a478.zip |
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>
Diffstat (limited to 'drivers/char/sonypi.c')
0 files changed, 0 insertions, 0 deletions