diff options
author | Linus Walleij <linus.walleij@linaro.org> | 2019-12-02 11:17:30 +0300 |
---|---|---|
committer | Jonathan Cameron <Jonathan.Cameron@huawei.com> | 2019-12-15 14:42:14 +0300 |
commit | 2c289e63944467a41c6703f46bcf2f3340713510 (patch) | |
tree | 9ca87fa1d3207634a8d57b22d74c907064df3315 /include/linux/iio | |
parent | d93813520df0ff6e0aec7c8859c56a659417f9b7 (diff) | |
download | linux-2c289e63944467a41c6703f46bcf2f3340713510.tar.xz |
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')
-rw-r--r-- | include/linux/iio/magnetometer/ak8975.h | 2 |
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; }; |