twl4030_charger: use devm_request_threaded_irq
authorNeilBrown <neilb@suse.de>
Sun, 22 Mar 2015 23:20:28 +0000 (10:20 +1100)
committerSebastian Reichel <sre@kernel.org>
Fri, 24 Jul 2015 13:53:13 +0000 (15:53 +0200)
commit1b7cac23419e1398eac4c28368da6671c9c4ce9d
treea13cd1a8e2ee84726c6f22ebbb3f419241120033
parent1ae25d626cfe7e11adc2c3e71d0de1f882954ef3
twl4030_charger: use devm_request_threaded_irq

This simplifies the error paths.

Signed-off-by: NeilBrown <neilb@suse.de>
Acked-by: Pavel Machek <pavel@ucw.cz>
Signed-off-by: Sebastian Reichel <sre@kernel.org>
drivers/power/twl4030_charger.c