staging: iio: mxs-lradc: Use devm_iio_device_alloc
Using devm_iio_device_alloc makes code simpler. Signed-off-by: NSachin Kamat <sachin.kamat@linaro.org> Reviewed-by: NMarek Vasut <marex@denx.de> Signed-off-by: NJonathan Cameron <jic23@kernel.org>
Showing
想要评论请 注册 或 登录