iio: magnetometer: ak8975: Get rid of platform data
authorAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Wed, 15 Jan 2020 17:44:24 +0000 (19:44 +0200)
committerJonathan Cameron <Jonathan.Cameron@huawei.com>
Sat, 18 Jan 2020 11:43:17 +0000 (11:43 +0000)
commit608184788502fd475e7bca4b1692fda5f0fef5b6
tree0afa1af2e9d60acc5e7e0ac913723bf1cfdc905a
parent79ef91493f5494e9ddbad85bf571ec03940a7f5c
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>
drivers/iio/magnetometer/ak8975.c
include/linux/iio/magnetometer/ak8975.h [deleted file]