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)
commitbb8759f28e3685d3f0d97f948a3ad2dabe33b5f1
tree28a2694856748ffddee50cb8e497402019069347
parent1579fc067f6e4f958e06db6bf3d170b753cd36d0
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