]> git.baikalelectronics.ru Git - kernel.git/commit
iio: accel: kxsd9-i2c: Use mod_devicetable.h and drop of_match_ptr macro
authorNishant Malpani <nish.malpani25@gmail.com>
Fri, 24 Apr 2020 22:44:38 +0000 (04:14 +0530)
committerJonathan Cameron <Jonathan.Cameron@huawei.com>
Sat, 25 Apr 2020 14:31:34 +0000 (15:31 +0100)
commit2916db0ba3240e41504ed6aa42608f1223dfcb6a
treee0fbe69c324e0db55f74606d714f486f2f2830ed
parentc255e12a7f38e3bfac4bd0939233e32cb4f69f4c
iio: accel: kxsd9-i2c: Use mod_devicetable.h and drop of_match_ptr macro

Enables ACPI DSDT to probe via PRP0001 and the compatible property. Also
removes the ifdef protections for CONFIG_OF.

Signed-off-by: Nishant Malpani <nish.malpani25@gmail.com>
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
drivers/iio/accel/kxsd9-i2c.c