Re: [PATCH v2 6/7] iio: adc: ad485x: add ad485x driver
From: Andy Shevchenko
Date: Tue Oct 08 2024 - 11:59:36 EST
On Tue, Oct 8, 2024 at 2:37 PM Miclaus, Antoniu
<Antoniu.Miclaus@xxxxxxxxxx> wrote:
...
> > > + bool pn_status[AD485X_MAX_LANES][AD485X_MAX_IODELAY];
> >
> > Why bool and not bitmap? I think I already asked this, but I don't
> > remember what you answered.
>
> Both ` iio_backend_chan_status` and `ad4851_find_opt` require bool as
> input parameter.
test_bit() and family returns bool. So, what's the issue with that?
--
With Best Regards,
Andy Shevchenko