William Breathitt Gray
837143d356
gpio: 104-idio-16: 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 idio_16_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:54:28 +01:00
..
2017-01-26 10:00:31 +01:00
2016-06-23 11:07:12 +02:00
2016-02-23 20:19:42 +05:30
2017-01-26 15:52:38 +01:00
2017-01-26 15:53:24 +01:00
2017-01-26 15:54:28 +01:00
2016-11-25 15:12:27 +01:00
2016-02-23 20:34:06 +05:30
2016-02-23 20:34:24 +05:30
2016-10-25 13:58:42 +02:00
2016-09-15 14:00:47 +02:00
2016-03-30 10:38:51 +02:00
2016-12-07 15:23:38 +01:00
2016-09-23 15:11:09 +02:00
2016-10-24 00:23:05 +02:00
2016-11-24 16:19:02 +01:00
2017-01-26 15:27:37 +01:00
2016-04-15 10:09:48 +02:00
2016-06-08 10:49:58 +02:00
2016-11-25 15:12:27 +01:00
2016-02-23 20:35:28 +05:30
2016-09-13 10:35:56 +02:00
2016-09-13 10:35:56 +02:00
2017-01-26 10:00:23 +01:00
2017-01-26 15:27:37 +01:00
2017-01-26 15:27:37 +01:00
2017-01-26 15:27:37 +01:00
2016-11-22 10:14:22 +01:00
2017-01-26 11:11:40 +01:00
2017-01-26 15:27:37 +01:00
2016-02-23 20:35:31 +05:30
2017-01-26 10:00:24 +01:00
2017-01-26 10:56:37 +01:00
2016-11-13 11:50:22 +01:00
2017-01-26 10:00:20 +01:00
2016-09-12 15:28:18 +02:00
2016-09-13 10:35:56 +02:00
2016-02-23 20:35:33 +05:30
2016-02-23 20:35:34 +05:30
2016-09-23 15:10:00 +02:00
2017-01-26 15:27:37 +01:00
2016-03-09 22:00:27 +07:00
2016-09-13 10:35:56 +02:00
2016-09-12 14:23:37 +02:00
2016-06-23 11:07:14 +02:00
2016-08-10 15:40:44 +02:00
2016-11-25 15:12:27 +01:00
2017-01-26 15:27:37 +01:00
2016-11-22 10:16:17 +01:00
2016-03-31 15:02:09 +02:00
2016-11-25 15:12:27 +01:00
2017-01-26 15:27:37 +01:00
2017-01-26 15:27:37 +01:00
2016-12-30 09:18:10 +01:00
2016-08-11 16:17:05 +02:00
2016-12-28 14:13:38 +01:00
2016-03-31 15:03:13 +02:00
2016-10-24 02:20:40 +02:00
2016-08-23 11:22:09 +02:00
2017-01-11 16:47:04 +01:00
2016-10-05 11:49:09 -07:00
2016-12-13 07:54:57 -08:00
2016-03-30 10:38:51 +02:00
2017-01-26 15:27:37 +01:00
2016-09-15 13:57:43 +02:00
2017-01-11 16:35:23 +01:00
2016-11-25 15:12:27 +01:00
2016-09-13 10:35:56 +02:00
2016-12-07 15:22:50 +01:00
2016-04-08 10:10:08 +02:00
2016-04-05 17:02:35 +02:00
2016-12-28 01:33:02 +01:00
2016-06-07 09:35:16 +02:00
2016-09-08 00:42:57 +02:00
2016-06-07 09:35:16 +02:00
2016-09-13 10:35:56 +02:00
2016-05-11 13:46:49 +02:00
2016-08-23 11:23:41 +02:00
2016-03-31 15:07:40 +02:00
2016-12-13 07:54:57 -08:00
2016-12-30 09:18:10 +01:00
2016-06-08 10:48:17 +02:00
2016-02-23 20:35:44 +05:30
2017-01-26 15:27:37 +01:00
2017-01-26 15:27:37 +01:00
2016-05-11 13:49:11 +02:00
2016-09-13 10:35:56 +02:00
2016-06-07 09:35:16 +02:00
2016-09-13 10:35:56 +02:00
2017-01-26 15:27:37 +01:00
2016-06-07 09:35:16 +02:00
2016-09-13 10:35:56 +02:00
2016-10-21 14:55:07 +02:00
2016-09-13 10:35:56 +02:00
2016-02-23 20:35:49 +05:30
2016-09-13 10:35:56 +02:00
2016-02-23 20:35:50 +05:30
2016-02-23 20:35:50 +05:30
2016-11-24 16:19:02 +01:00
2016-06-07 09:35:16 +02:00
2017-01-26 15:27:37 +01:00
2017-01-26 15:27:37 +01:00
2017-01-26 15:27:37 +01:00
2016-09-13 10:35:56 +02:00
2017-01-26 15:27:37 +01:00
2017-01-26 10:57:39 +01:00
2016-03-31 10:22:53 +02:00
2016-05-17 17:39:42 -07:00
2016-06-08 10:33:45 +02:00
2016-06-08 10:54:13 +02:00
2016-05-11 13:50:01 +02:00
2016-03-31 15:10:25 +02:00
2016-09-23 15:26:20 +02:00
2017-01-11 12:09:36 +01:00
2016-10-25 20:23:19 +02:00
2016-07-04 16:51:29 +02:00
2016-12-30 09:26:54 +01:00
2016-09-12 14:53:33 +02:00
2017-01-26 15:28:02 +01:00
2017-01-11 12:09:36 +01:00
2017-01-26 11:11:40 +01:00
2017-01-26 11:11:40 +01:00