]> git.karo-electronics.de Git - linux-beck.git/commit
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)
commitb97855354aaacd65d68805bce38af4af1ef703f9
tree3c4b03595f9bab11ef003a84ae4277639b531a14
parent1b791fadf3a1749505b6cf04d4ef58d278ee42cd
iio: light: cm32181: Use devm_* APIs

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>
drivers/iio/light/cm32181.c