Alexandru Ardelean
6ff0199a1d
iio: adc: ti_am335x_adc: alloc channels via devm_kcalloc()
...
This change attaches the life-cycle of the channels array to the parent
device object that is attached to the IIO device.
This way we can remove from the cleanup code, the explicit
tiadc_channels_remove() which simply does a kfree() on the channels array.
Signed-off-by: Alexandru Ardelean <alexandru.ardelean@analog.com>
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
2020-07-07 20:24:11 +01:00
..
2020-06-14 14:20:08 +01:00
2020-06-14 14:20:08 +01:00
2019-11-16 17:06:10 +00:00
2020-06-14 11:49:59 +01:00
2019-11-16 17:06:10 +00:00
2020-06-14 11:49:59 +01:00
2020-06-14 11:50:04 +01:00
2020-06-20 17:34:44 +01:00
2020-06-14 14:20:08 +01:00
2020-06-14 11:49:59 +01:00
2020-06-14 14:20:08 +01:00
2020-06-14 14:20:08 +01:00
2019-08-05 15:59:14 +01:00
2019-08-25 16:11:00 +01:00
2020-06-20 17:34:44 +01:00
2019-08-25 16:11:00 +01:00
2020-06-20 17:34:44 +01:00
2020-06-20 17:34:44 +01:00
2020-06-14 11:49:59 +01:00
2020-06-14 14:20:08 +01:00
2020-06-14 14:20:08 +01:00
2020-06-20 17:34:44 +01:00
2020-06-14 14:20:08 +01:00
2020-06-14 14:20:08 +01:00
2020-04-19 16:56:23 +01:00
2020-06-20 17:34:44 +01:00
2020-06-14 11:49:59 +01:00
2020-06-14 11:49:59 +01:00
2020-06-20 17:29:38 +01:00
2020-07-07 20:24:05 +01:00
2020-06-14 14:20:08 +01:00
2020-06-14 11:49:59 +01:00
2020-06-14 14:20:08 +01:00
2020-06-14 11:49:59 +01:00
2020-06-14 11:49:59 +01:00
2020-07-07 20:24:08 +01:00
2020-06-14 14:20:08 +01:00
2020-06-20 17:34:44 +01:00
2020-06-14 14:20:08 +01:00
2020-06-14 11:49:59 +01:00
2020-06-14 14:20:08 +01:00
2020-06-14 11:49:59 +01:00
2020-07-07 20:24:08 +01:00
2020-06-14 11:50:04 +01:00
2020-06-14 11:49:59 +01:00
2020-06-14 14:20:08 +01:00
2020-07-07 20:24:11 +01:00
2020-06-14 11:49:59 +01:00
2020-06-14 11:49:52 +01:00
2020-06-14 14:20:08 +01:00
2020-06-14 11:49:59 +01:00
2020-07-07 20:24:08 +01:00
2020-06-14 11:49:59 +01:00
2020-06-14 11:49:59 +01:00
2020-07-07 20:24:08 +01:00
2020-06-14 11:50:04 +01:00
2020-07-07 20:24:09 +01:00
2019-12-15 12:15:19 +00:00
2020-06-07 10:45:08 -07:00
2020-07-07 20:24:08 +01:00
2020-07-07 20:24:09 +01:00
2020-06-14 11:49:59 +01:00
2020-07-07 20:24:08 +01:00
2020-06-14 14:20:08 +01:00
2020-07-07 20:24:09 +01:00
2020-07-07 20:24:09 +01:00
2020-07-07 20:24:09 +01:00
2020-06-14 14:20:08 +01:00
2020-06-14 11:49:59 +01:00
2020-06-14 14:20:08 +01:00
2020-05-26 10:41:47 +01:00
2020-06-14 11:49:59 +01:00
2020-06-20 17:34:44 +01:00
2020-06-14 14:20:08 +01:00
2020-06-14 11:49:59 +01:00
2020-06-14 11:49:59 +01:00
2020-06-14 14:20:08 +01:00
2020-06-27 14:10:52 +01:00
2020-06-14 14:20:08 +01:00
2020-06-14 14:20:08 +01:00
2020-06-14 11:49:21 +01:00
2020-06-14 11:49:21 +01:00
2020-06-14 14:20:08 +01:00
2020-06-14 11:49:59 +01:00
2020-06-27 13:09:15 +01:00
2020-06-14 11:49:59 +01:00
2020-07-07 20:24:09 +01:00
2020-06-14 11:49:59 +01:00
2020-05-22 17:29:25 +01:00
2019-12-15 11:42:17 +00:00
2020-06-20 17:34:44 +01:00
2020-06-20 17:34:44 +01:00
2019-04-27 14:09:28 +01:00
2019-06-22 10:29:19 +01:00
2020-06-14 11:49:59 +01:00
2020-06-14 11:49:59 +01:00
2020-06-14 14:20:08 +01:00
2020-07-07 20:24:11 +01:00
2020-07-07 20:24:10 +01:00
2020-07-07 20:24:10 +01:00
2020-06-14 11:49:59 +01:00
2020-06-14 14:20:08 +01:00
2020-07-07 20:24:10 +01:00
2020-07-07 20:24:10 +01:00
2020-06-14 11:49:59 +01:00
2020-06-14 14:20:08 +01:00
2020-06-20 17:34:44 +01:00
2020-06-14 11:49:59 +01:00
2020-06-14 14:20:08 +01:00
2020-06-14 14:20:08 +01:00
2020-07-07 20:24:11 +01:00
2020-06-14 14:20:08 +01:00
2020-06-14 11:49:59 +01:00
2020-06-20 17:34:44 +01:00
2020-06-14 11:49:59 +01:00
2020-06-20 17:34:44 +01:00
2020-03-21 10:25:35 +00:00
2020-03-21 10:25:35 +00:00