]> git.karo-electronics.de Git - linux-beck.git/commit
staging: iio: ad9951: Use devm_iio_device_register
authorHimangi Saraogi <himangi774@gmail.com>
Sat, 8 Mar 2014 11:00:00 +0000 (11:00 +0000)
committerJonathan Cameron <jic23@kernel.org>
Thu, 7 Aug 2014 13:45:55 +0000 (14:45 +0100)
commit84e93b38c2a93c59b23349b1e31de1a3657fa4c0
tree2000eb4bc5c8018dddc743e38e18813608ea840d
parent913b864686746e10c32ed65c04f70d886c4c0c76
staging: iio: ad9951: 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. The remove function is no
longer required and is completely removed.

Signed-off-by: Himangi Saraogi <himangi774@gmail.com>
Acked-by: Julia Lawall <julia.lawall@lip6.fr>
Signed-off-by: Jonathan Cameron <jic23@kernel.org>
drivers/staging/iio/frequency/ad9951.c