Re: [PATCH 3/3] iio: st_pressure: Support i2c probe using acpi

From: Linus Walleij
Date: Thu Nov 24 2016 - 09:28:51 EST


On Thu, Nov 24, 2016 at 6:33 AM, Shrirang Bagul
<shrirang.bagul@xxxxxxxxxxxxx> wrote:

> Compatible strings are not available on ACPI based systems. This patch adds
> support to use DSDT information read from platform BIOS instead for probing
> st pressure sensors.
>
> Signed-off-by: Shrirang Bagul <shrirang.bagul@xxxxxxxxxxxxx>
(...)
> +#ifdef CONFIG_ACPI
> +static const struct acpi_device_id st_press_acpi_match[] = {
> + {"SNO9210", LPS22HB},
> + { },
> +};

Same comment. One sensor only supported by ACPI really?

Take a wider look.

Yours,
Linus Walleij