summaryrefslogtreecommitdiff
path: root/include/linux/iio/magnetometer/ak8975.h
diff options
context:
space:
mode:
authorAndy Shevchenko <andriy.shevchenko@linux.intel.com>2020-01-15 20:44:24 +0300
committerJonathan Cameron <Jonathan.Cameron@huawei.com>2020-01-18 14:43:17 +0300
commit608184788502fd475e7bca4b1692fda5f0fef5b6 (patch)
tree0afa1af2e9d60acc5e7e0ac913723bf1cfdc905a /include/linux/iio/magnetometer/ak8975.h
parent79ef91493f5494e9ddbad85bf571ec03940a7f5c (diff)
downloadlinux-608184788502fd475e7bca4b1692fda5f0fef5b6.tar.xz
iio: magnetometer: ak8975: Get rid of platform data
Since IIO framework supports device property API and driver has been moved already to the use of GPIO descriptors the logical continuation is to get rid of platform data completely. We are on the safe side here since there are no users of it in the kernel. Signed-off-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.h15
1 files changed, 0 insertions, 15 deletions
diff --git a/include/linux/iio/magnetometer/ak8975.h b/include/linux/iio/magnetometer/ak8975.h
deleted file mode 100644
index df3697183800..000000000000
--- a/include/linux/iio/magnetometer/ak8975.h
+++ /dev/null
@@ -1,15 +0,0 @@
-/* SPDX-License-Identifier: GPL-2.0 */
-#ifndef __IIO_MAGNETOMETER_AK8975_H__
-#define __IIO_MAGNETOMETER_AK8975_H__
-
-#include <linux/iio/iio.h>
-
-/**
- * struct ak8975_platform_data - AK8975 magnetometer driver platform data
- * @orientation: mounting matrix relative to main hardware
- */
-struct ak8975_platform_data {
- struct iio_mount_matrix orientation;
-};
-
-#endif