iio:ak8975 Add support for gpios DT property
authorJacek Anaszewski <j.anaszewski@samsung.com>
Tue, 7 May 2013 10:41:00 +0000 (11:41 +0100)
committerJonathan Cameron <jic23@kernel.org>
Wed, 22 May 2013 21:16:48 +0000 (22:16 +0100)
commitf4b7f751c6fd2bd7e6d3a83385ee292c39995bdb
tree17a916b8e7917ca52ac1144443184e87637914b2
parente64e7d5c8c86ead27ed51a95687ba8327a9c4d2a
iio:ak8975 Add support for gpios DT property

Add support for parsing 'gpios' property when initializing
from oftree.
This patch adds also the binding documentation file.

Signed-off-by: Jacek Anaszewski <j.anaszewski@samsung.com>
Signed-off-by: Kyungmin Park <kyungmin.park@samsung.com>
Signed-off-by: Jonathan Cameron <jic23@kernel.org>
Documentation/devicetree/bindings/iio/magnetometer/ak8975.txt [new file with mode: 0644]
drivers/iio/magnetometer/ak8975.c