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>
This commit is contained in:
committed by
Jonathan Cameron
parent
79ef91493f
commit
6081847885
@@ -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
|
||||
Reference in New Issue
Block a user