summaryrefslogtreecommitdiffstats
path: root/MAINTAINERS
diff options
context:
space:
mode:
authorVaishali Thakkar2015-08-13 06:54:41 +0200
committerSebastian Reichel2015-09-22 16:20:10 +0200
commit5e5822f670c2c61953b5d4d18b4cc3e66744865c (patch)
tree48ab3f28eb14bf81bc4eb49446d90813c2aa4c3e /MAINTAINERS
parentpower: charger-manager: comment spelling fixes (diff)
downloadkernel-qcow2-linux-5e5822f670c2c61953b5d4d18b4cc3e66744865c.tar.gz
kernel-qcow2-linux-5e5822f670c2c61953b5d4d18b4cc3e66744865c.tar.xz
kernel-qcow2-linux-5e5822f670c2c61953b5d4d18b4cc3e66744865c.zip
power_supply: max8998: Use devm_power_supply_register
Use managed resource function devm_power_supply_register instead of power_supply_register to simplify the error path by allowing unregister to happen automatically on error. To be compatible with the change, replace various gotos by direct returns and remove unneeded label err. Also, remove max8998_battery_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 'MAINTAINERS')
0 files changed, 0 insertions, 0 deletions