diff options
author | 2012-01-12 12:56:35 +0800 | |
---|---|---|
committer | 2012-03-26 20:41:19 +0400 | |
commit | bb2a95c2d2450be1ac942adf6815375f620b7015 (patch) | |
tree | de8fdf6b7fc59f931de42468f32d1f9fc9c3ce57 /tools/perf/util/scripting-engines/trace-event-python.c | |
parent | da9052-battery: Convert to use module_platform_driver (diff) | |
download | wireguard-linux-bb2a95c2d2450be1ac942adf6815375f620b7015.tar.xz wireguard-linux-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 <axel.lin@gmail.com>
Signed-off-by: Anton Vorontsov <anton.vorontsov@linaro.org>
Diffstat (limited to 'tools/perf/util/scripting-engines/trace-event-python.c')
0 files changed, 0 insertions, 0 deletions