summaryrefslogtreecommitdiff
path: root/include/linux/iio/magnetometer/ak8975.h
diff options
context:
space:
mode:
authorLinus Walleij <linus.walleij@linaro.org>2019-12-02 09:17:30 +0100
committerJonathan Cameron <Jonathan.Cameron@huawei.com>2019-12-15 11:42:14 +0000
commit2c289e63944467a41c6703f46bcf2f3340713510 (patch)
tree9ca87fa1d3207634a8d57b22d74c907064df3315 /include/linux/iio/magnetometer/ak8975.h
parentd93813520df0ff6e0aec7c8859c56a659417f9b7 (diff)
iio: ak8975: Convert to use GPIO descriptor
The end-of-conversion (EOC) GPIO line is better to grab using a GPIO descriptor. We drop the pdata for this: clients using board files can use machine descriptor tables to pass this GPIO from static data. Cc: Stephan Gerhold <stephan@gerhold.net> Signed-off-by: Linus Walleij <linus.walleij@linaro.org> Reviewed-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Diffstat (limited to 'include/linux/iio/magnetometer/ak8975.h')
-rw-r--r--include/linux/iio/magnetometer/ak8975.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/include/linux/iio/magnetometer/ak8975.h b/include/linux/iio/magnetometer/ak8975.h
index ac9366f807cb..df3697183800 100644
--- a/include/linux/iio/magnetometer/ak8975.h
+++ b/include/linux/iio/magnetometer/ak8975.h
@@ -6,11 +6,9 @@
/**
* struct ak8975_platform_data - AK8975 magnetometer driver platform data
- * @eoc_gpio: data ready event gpio
* @orientation: mounting matrix relative to main hardware
*/
struct ak8975_platform_data {
- int eoc_gpio;
struct iio_mount_matrix orientation;
};