summaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
authorVaishali Thakkar <vthakkar1994@gmail.com>2015-09-17 15:57:52 +0300
committerSebastian Reichel <sre@kernel.org>2015-09-22 17:01:34 +0300
commit50bddb99c10d6ed861ce384bfe95c78eab5e3ca7 (patch)
treeb3bae736b746120473fa86d10e4329e559bb0811 /tools
parentbc312cbdfa4c4eaa074bae29adbff231c743619a (diff)
downloadlinux-50bddb99c10d6ed861ce384bfe95c78eab5e3ca7.tar.xz
power: max17042_battery: Convert to using managed resources
Use managed resource functions devm_request_threaded_irq and devm_power_supply_register to simplify error handling. Also, remove max17042_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 'tools')
0 files changed, 0 insertions, 0 deletions