summaryrefslogtreecommitdiff
path: root/drivers/hwmon/gl520sm.c
diff options
context:
space:
mode:
authorAxel Lin <axel.lin@gmail.com>2012-01-12 08:56:35 +0400
committerAnton Vorontsov <anton.vorontsov@linaro.org>2012-03-26 20:41:19 +0400
commitbb2a95c2d2450be1ac942adf6815375f620b7015 (patch)
treede8fdf6b7fc59f931de42468f32d1f9fc9c3ce57 /drivers/hwmon/gl520sm.c
parent534f5306d701e2717b039898888bfbb8584186bd (diff)
downloadlinux-bb2a95c2d2450be1ac942adf6815375f620b7015.tar.xz
charger-manager: Clean up for better readability
This patch includes below changes: * Some code change for better readability. * Current code in probe already ensures desc->charger_regulators is not NULL. No need to check if it is NULL or not before calling regulator_bulk_free(). * Use dev_get_drvdata() in cm_suspend_prepare() and cm_suspend_complete() Signed-off-by: Axel Lin <axel.lin@gmail.com> Signed-off-by: Anton Vorontsov <anton.vorontsov@linaro.org>
Diffstat (limited to 'drivers/hwmon/gl520sm.c')
0 files changed, 0 insertions, 0 deletions