diff options
author | NeilBrown <neilb@suse.de> | 2015-02-24 15:33:50 +1100 |
---|---|---|
committer | Sebastian Reichel <sre@kernel.org> | 2015-02-26 01:50:22 +0100 |
commit | 5d8a4219a0795a321606c51582898223db80e874 (patch) | |
tree | 138911df8103697cc44bee53e75650684ece1964 /drivers/power/bq27x00_battery.c | |
parent | 881f985a256839de2bb220dea5a4c59b8fa99b82 (diff) |
power_supply core: support use of devres to register/unregister a power supply.
Using devm_power_supply_register allows the unregister to happen
automatically on error or final put.
Signed-off-by: NeilBrown <neilb@suse.de>
Signed-off-by: Sebastian Reichel <sre@kernel.org>
Diffstat (limited to 'drivers/power/bq27x00_battery.c')
0 files changed, 0 insertions, 0 deletions