iio: proximity: ping: Replace OF specific code by device_get_match_data()
authorAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Wed, 13 Apr 2022 18:34:21 +0000 (21:34 +0300)
committerJonathan Cameron <Jonathan.Cameron@huawei.com>
Thu, 28 Apr 2022 18:22:55 +0000 (19:22 +0100)
commit87b7b07bf0f013b97db2ecbdbb9c64e093bd3587
treebfe511ce2ca0cb5f62d09b17d74efa027d8a700f
parent96a531799de75f20185ffbe977475e571fcad281
iio: proximity: ping: Replace OF specific code by device_get_match_data()

Instead of calling the OF specific API, use device_get_match_data().

Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Link: https://lore.kernel.org/r/20220413183421.20427-1-andriy.shevchenko@linux.intel.com
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
drivers/iio/proximity/ping.c