OSDN Git Service

iio: st_lsm6dsx: Make use of device properties
authorAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Mon, 16 Dec 2019 18:19:25 +0000 (20:19 +0200)
committerJonathan Cameron <Jonathan.Cameron@huawei.com>
Sun, 29 Dec 2019 15:20:04 +0000 (15:20 +0000)
commit03d4c566c51def8151dee1e87dae6479722890d2
tree0423a39608f07ee4f0046d3aa49fd24783d4f48f
parente3da43077046d3b44da0f66b2f202e25ba9ca694
iio: st_lsm6dsx: Make use of device properties

Device property API allows to gather device resources from different sources,
such as ACPI. Convert the drivers to unleash the power of device property API.

Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
drivers/iio/imu/st_lsm6dsx/st_lsm6dsx_core.c