iio: magnetometer: ak8975: Use devm_* APIs
authorBeomho Seo <beomho.seo@samsung.com>
Mon, 23 Jun 2014 12:34:00 +0000 (13:34 +0100)
committerJonathan Cameron <jic23@kernel.org>
Sun, 29 Jun 2014 11:03:45 +0000 (12:03 +0100)
commita845a3aab8a925f675ca8520435b1218b6198a26
treeec1bbd19e559d1772e3c1eecb14ca1ff952a6e83
parentcfcd185e708f7a3543b1dc585dfb1a849c019e14
iio: magnetometer: ak8975: Use devm_* APIs

This patch use devm_* APIs make driver simpler.

Signed-off-by: Beomho Seo <beomho.seo@samsung.com>
Signed-off-by: Jonathan Cameron <jic23@kernel.org>
drivers/iio/magnetometer/ak8975.c