diff options
author | Vaishali Thakkar <vthakkar1994@gmail.com> | 2015-07-25 05:53:16 +0200 |
---|---|---|
committer | Sebastian Reichel <sre@kernel.org> | 2015-07-27 16:09:53 +0200 |
commit | 71a5a508436332ac40f688ef06e61628f25f3e5b (patch) | |
tree | 09d494bd0e61891b0a0f7e437292c1f102b4ea89 /drivers/power/ds2781_battery.c | |
parent | power/reset: zx: Remove unnecessary include file (diff) | |
download | linux-71a5a508436332ac40f688ef06e61628f25f3e5b.tar.xz linux-71a5a508436332ac40f688ef06e61628f25f3e5b.zip |
power_supply: bq24735: Convert to using managed resources
Use managed resource functions like devm_kasprintf and
devm_power_supply_register in bq24735_charger_probe. To be
compatible with the change, replace various gotos by direct
returns and drop unneeded labels.
Also, remove bq24735_charger_remove as it is now redundant.
Signed-off-by: Vaishali Thakkar <vthakkar1994@gmail.com>
Signed-off-by: Sebastian Reichel <sre@kernel.org>
Diffstat (limited to 'drivers/power/ds2781_battery.c')
0 files changed, 0 insertions, 0 deletions