diff options
| author | Axel Lin <[email protected]> | 2012-01-12 04:56:35 +0000 |
|---|---|---|
| committer | Anton Vorontsov <[email protected]> | 2012-03-26 16:41:19 +0000 |
| commit | bb2a95c2d2450be1ac942adf6815375f620b7015 (patch) | |
| tree | de8fdf6b7fc59f931de42468f32d1f9fc9c3ce57 /lib/mpi/mpi-bit.c | |
| parent | da9052-battery: Convert to use module_platform_driver (diff) | |
| download | kernel-bb2a95c2d2450be1ac942adf6815375f620b7015.tar.gz kernel-bb2a95c2d2450be1ac942adf6815375f620b7015.zip | |
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 <[email protected]>
Signed-off-by: Anton Vorontsov <[email protected]>
Diffstat (limited to 'lib/mpi/mpi-bit.c')
0 files changed, 0 insertions, 0 deletions
