Staging: iio: oaktrail AK8975 support via IIO
authorAlan Cox <alan@linux.jf.intel.com>
Wed, 6 Apr 2011 12:31:40 +0000 (13:31 +0100)
committerGreg Kroah-Hartman <gregkh@suse.de>
Wed, 20 Apr 2011 21:18:55 +0000 (14:18 -0700)
commit01fbb4781fc2865a55a19c44403bc69b34f1de43
tree7b0d4008653b981c3b5edf1a4b4ddfa31547ba96
parentacf0b9e8194b9e70e661d38f7485d801f3e10e51
Staging: iio: oaktrail AK8975 support via IIO

Actually this is generic 'I have no GPIO' support for the AK8975, instead
we have to go bus polling.

Huang Liang produced an initial patch which worked by removing the support
for GPIO pins. This patch instead makes GPIO support optional and Huang then
fixed some bugs in it.

Signed-off-by: Alan Cox <alan@linux.intel.com>
Acked-by: Jonathan Cameron <jic23@cam.ac.uk>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/staging/iio/magnetometer/ak8975.c