Jonathan Cameron c5269fe908 iio: adc: cc10001: Switch remaining IIO calls in probe to devm_ forms.
As everything else is now handled by devm managed releases the
triggered buffer setup and IIO device registration can also be
moved over to their devm forms allowing dropping of remove().

Only user of drvdata associated with the struct device was the
remove function, so also drop the platform_set_drvdata() call.

Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Reviewed-by: Nuno Sá <nuno.sa@analog.com>
Link: https://lore.kernel.org/r/20221016170950.387751-6-jic23@kernel.org
2022-11-23 19:44:04 +00:00
..
2022-07-16 18:50:24 +01:00
2022-11-23 19:44:01 +00:00
2022-11-23 19:44:01 +00:00
2022-01-23 18:03:36 +00:00
2022-09-05 18:08:34 +01:00
2022-11-23 19:43:59 +00:00
2022-07-18 18:29:29 +01:00
2022-08-15 22:29:57 +01:00