staging:iio:magnetometer:ak8975: use gpio_request_one api
authorLeed Aguilar <leed.aguilar@ti.com>
Wed, 6 Jun 2012 20:15:40 +0000 (16:15 -0400)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 7 Jun 2012 05:32:59 +0000 (14:32 +0900)
commit82f2acdce16ad7f124b6bb38c10a1894aa534864
tree730e1cc29d992d6d7b08eef1ba04f1c4ec664913
parent040f3e5833b9426aaeead6da8957a9b87f3ca9e8
staging:iio:magnetometer:ak8975: use gpio_request_one api

Use gpio_request_one api, it looks cleaner.

Signed-off-by: Leed Aguilar <leed.aguilar@ti.com>
Acked-by: Jonathan Cameron <jic23@kernel.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/iio/magnetometer/Kconfig
drivers/staging/iio/magnetometer/ak8975.c