William Breathitt Gray
b2d226caec
iio: stx104: 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
iio_device_register call with the devm_gpiochip_add_data call and
devm_iio_device_register call respectively. In addition, the
stx104_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: Jonathan Cameron <jic23@kernel.org>
2017-01-28 12:44:05 +00:00
..
2017-01-06 14:36:30 +01:00
2016-12-13 15:30:50 -08:00
2016-12-24 11:46:01 -08:00
2016-12-31 21:52:07 +01:00
2016-12-25 17:21:22 +01:00
2016-12-16 10:24:44 -08:00
2016-12-25 10:47:44 +01:00
2016-12-24 11:46:01 -08:00
2016-12-25 11:04:12 +01:00
2017-01-06 15:35:27 -08:00
2016-12-25 14:30:04 -08:00
2017-01-06 14:34:52 +01:00
2016-12-24 11:46:01 -08:00
2016-12-27 17:51:36 -08:00
2016-12-18 15:49:10 -08:00
2017-01-03 00:21:45 +01:00
2016-12-24 11:46:01 -08:00
2016-12-25 17:21:22 +01:00
2016-12-24 11:46:01 -08:00
2016-12-14 11:14:28 -08:00
2017-01-04 16:38:39 +01:00
2016-12-19 08:16:26 -08:00
2017-01-06 11:19:03 -08:00
2017-01-02 14:01:30 +01:00
2016-12-25 11:04:12 +01:00
2017-01-02 10:15:28 -08:00
2016-12-25 10:47:44 +01:00
2016-12-24 11:46:01 -08:00
2016-12-24 11:46:01 -08:00
2016-12-13 10:41:53 -08:00
2017-01-28 12:44:05 +00:00
2016-12-29 14:17:40 -05:00
2016-12-25 17:21:22 +01:00
2017-01-06 10:49:36 -08:00
2016-12-25 14:30:04 -08:00
2016-12-24 11:46:01 -08:00
2016-12-25 10:47:44 +01:00
2016-12-24 11:46:01 -08:00
2016-12-13 12:11:01 -08:00
2016-12-24 11:46:01 -08:00
2016-12-25 17:21:22 +01:00
2016-12-24 11:46:01 -08:00
2016-12-25 17:21:22 +01:00
2016-12-13 10:19:16 -08:00
2016-12-24 11:46:01 -08:00
2016-12-19 08:16:26 -08:00
2017-01-04 18:22:44 +01:00
2016-12-24 11:46:01 -08:00
2016-12-24 11:46:01 -08:00
2017-01-04 16:12:14 -05:00
2016-12-23 16:11:07 -05:00
2016-12-24 11:46:01 -08:00
2016-12-18 15:49:10 -08:00
2016-12-22 11:54:46 -07:00
2017-01-04 18:22:47 +01:00
2016-12-15 12:46:48 -08:00
2016-12-24 11:46:01 -08:00
2016-12-24 11:46:01 -08:00
2016-12-24 11:46:01 -08:00
2016-12-25 17:21:22 +01:00
2016-12-12 18:55:06 -08:00
2016-12-25 10:47:44 +01:00
2016-12-14 10:49:33 -08:00
2016-12-30 14:27:42 +01:00
2016-12-28 12:38:10 +02:00
2016-12-24 11:46:01 -08:00
2016-12-25 17:21:22 +01:00
2016-12-12 19:56:15 -08:00
2016-12-15 11:45:13 -08:00
2016-12-19 08:16:26 -08:00
2016-12-09 16:16:56 -08:00
2016-12-15 16:03:25 -08:00
2016-12-13 08:52:45 -08:00
2016-12-25 17:21:22 +01:00
2016-12-25 17:21:22 +01:00
2016-12-24 11:46:01 -08:00
2016-12-25 14:30:04 -08:00
2016-12-12 18:55:08 -08:00
2016-12-16 09:26:42 -08:00
2016-12-14 20:42:45 -08:00
2017-01-28 12:22:07 +00:00
2016-12-21 10:16:05 -08:00
2016-12-13 10:41:53 -08:00
2016-12-13 12:11:01 -08:00
2016-12-24 11:46:01 -08:00
2016-12-10 14:57:58 +01:00
2017-01-05 19:38:40 +01:00
2017-01-04 08:34:39 -07:00
2016-12-16 10:24:44 -08:00
2017-01-04 12:58:45 +01:00
2016-12-16 00:13:39 +02:00
2016-12-24 11:27:45 -08:00
2017-01-06 10:53:21 -08:00
2016-12-24 11:46:01 -08:00