staging: iio: ak8975: add platform data.
commitf2f1794835f1d8900d2b15d114c54e70c849809b
authorTony SIM <chinyeow.sim.xt@renesas.com>
Tue, 15 Feb 2011 10:10:27 +0000 (15 19:10 +0900)
committerGreg Kroah-Hartman <gregkh@suse.de>
Fri, 18 Feb 2011 21:21:57 +0000 (18 13:21 -0800)
tree294c834c91571774ca7a819314b77d2e89effa9c
parentea801950cf54d5d3e219bd51e298193d56cd53e7
staging: iio: ak8975: add platform data.

As some of the platform not support irq_to_gpio, we pass gpio port
by platform data.

Signed-off-by: Tony SIM <chinyeow.sim.xt@renesas.com>
Signed-off-by: Andrew Chew <achew@nvidia.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/staging/iio/magnetometer/ak8975.c
include/linux/input/ak8975.h [new file with mode: 0644]