iio: light: cm32181: Use devm_* APIs
authorBeomho Seo <beomho.seo@samsung.com>
Wed, 18 Jun 2014 06:21:00 +0000 (07:21 +0100)
committerJonathan Cameron <jic23@kernel.org>
Sat, 21 Jun 2014 11:40:37 +0000 (12:40 +0100)
This patch changes API from iio_device_register() to devm_* API.
Using API make code simpler.

Signed-off-by: Beomho Seo <beomho.seo@samsung.com>
Signed-off-by: Jonathan Cameron <jic23@kernel.org>

No differences found