William Breathitt Gray e43fee6034 gpio: 104-idi-48: Utilize devm_ functions in driver probe callback
The devm_ resource manager functions allow memory to be automatically
released when a device is unbound. This patch takes advantage of the
resource manager functions and replaces the gpiochip_add_data call and
request_irq call with the devm_gpiochip_add_data call and
devm_request_irq call respectively. In addition, the idi_48_remove
function has been removed as no longer necessary due to the use of the
relevant devm_ resource manager functions.

Signed-off-by: William Breathitt Gray <vilhelm.gray@gmail.com>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
2017-01-26 15:53:24 +01:00
..
2016-03-30 10:38:51 +02:00
2016-10-24 00:23:05 +02:00
2016-01-05 11:21:05 +01:00
2016-02-16 00:19:53 +01:00
2016-12-30 09:18:10 +01:00
2016-12-28 14:13:38 +01:00
2016-01-05 15:46:34 +01:00
2016-09-13 10:35:56 +02:00
2016-12-30 09:18:10 +01:00
2017-01-26 11:11:40 +01:00
2017-01-26 11:11:40 +01:00