]> git.baikalelectronics.ru Git - kernel.git/commit
iio: health: max30100: use generic property handler
authorRohit Sarkar <rohitsarkar5398@gmail.com>
Sun, 15 Mar 2020 15:25:12 +0000 (20:55 +0530)
committerJonathan Cameron <Jonathan.Cameron@huawei.com>
Sun, 19 Apr 2020 15:56:13 +0000 (16:56 +0100)
commit44338e858b3ea6a38e3baed80db0bb730161769a
tree28a2694856748ffddee50cb8e497402019069347
parentf965ae3f2fb7f5d078b0fa05cc15e694e035cde1
iio: health: max30100: use generic property handler

Instead of of_property_read_xxx use device_property_read_xxx as it is
compatible with ACPI too as opposed to only device tree.

Signed-off-by: Rohit Sarkar <rohitsarkar5398@gmail.com>
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
drivers/iio/health/max30100.c