Re: [PATCH v5 6/7] iio: pressure: bmp280: Add data ready trigger support

Andy Shevchenko
2024-09-04T14:19:12Z

On Wed, Sep 04, 2024 at 12:28:12PM +0200, Vasileios Amoiridis wrote:
> On Tue, Sep 03, 2024 at 05:36:13PM +0300, Andy Shevchenko wrote:
> > On Mon, Sep 02, 2024 at 08:42:21PM +0200, Vasileios Amoiridis wrote:

...

> > > + data->trig_open_drain =
> > > + fwnode_property_read_bool(fwnode, "int-open-drain");
> >
> > Where do you initialise fwnode?
>
> Ok, I need to retest this with the device-tree.

But don't you compile with `make W=1`? It must warn in such cases.

--
With Best Regards,
Andy Shevchenko