Re: [PATCH v5 2/2] iio: sx9310: Support ACPI properties

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Fri, Mar 19, 2021 at 6:58 PM Gwendal Grignou <gwendal@xxxxxxxxxxxx> wrote:
>
> Use device_property_read_... to support both device tree and ACPI

device_property_read_uXX()

> bindings when reading the properties we need to configure the SAR
> sensor.

...

> +               count = device_property_read_u32_array(dev, "semtech,combined-sensors", NULL, 0);

device_property_count_u32()

-- 
With Best Regards,
Andy Shevchenko



[Index of Archives]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Input]     [Linux Kernel]     [Linux SCSI]     [X.org]

  Powered by Linux