staging:iio:ad9852: Use devm_iio_device_register
This patch introduces the use of devm_iio_device_register and does away with the unregister in the remove function. Signed-off-by: NHimangi Saraogi <himangi774@gmail.com> Acked-by: NJulia Lawall <julia.lawall@lip6.fr> Signed-off-by: NJonathan Cameron <jic23@kernel.org>
Showing
想要评论请 注册 或 登录