iio: adc: ti-ads1015: Make use of device property API
authorAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Thu, 5 Dec 2019 17:46:37 +0000 (19:46 +0200)
committerJonathan Cameron <Jonathan.Cameron@huawei.com>
Sun, 15 Dec 2019 11:42:18 +0000 (11:42 +0000)
commit64335c4a6720017c45e0c07313a7a819e55a084a
treec024ab090841c1850a0501f6059abe8a35c34836
parent0cd9ff1535f4339710dfd577a7d91b96fd4b423b
iio: adc: ti-ads1015: Make use of device property API

Make use of device property API in this driver so that both OF based
system and ACPI based system can use this driver.

Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
drivers/iio/adc/ti-ads1015.c