Re: [PATCH v2] treewide: rework struct gpiod_line_bulk

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

 



On Wed, Oct 28, 2020 at 10:39 AM Kent Gibson <warthog618@xxxxxxxxx> wrote:
>
> On Tue, Oct 27, 2020 at 10:17:15AM +0100, Bartosz Golaszewski wrote:
> > From: Bartosz Golaszewski <bgolaszewski@xxxxxxxxxxxx>
> >
>
> Subject should be prefixed with [libgpiod] according to the README ;).
>

Oh come on! :)

[snip]

>
> If you replace the gpiod_line_bulk_iter_foreach_line() here with
> manually looping over the bulk lines then everything from A to B above
> can be dropped.
>

Something is telling me that dedicated iterators are more elegant. But
I guess we can do everything manually for now and see about that
later. Fair enough, I'll drop it.

Bartosz

[snip]



[Index of Archives]     [Linux SPI]     [Linux Kernel]     [Linux ARM (vger)]     [Linux ARM MSM]     [Linux Omap]     [Linux Arm]     [Linux Tegra]     [Fedora ARM]     [Linux for Samsung SOC]     [eCos]     [Linux Fastboot]     [Gcc Help]     [Git]     [DCCP]     [IETF Announce]     [Security]     [Linux MIPS]     [Yosemite Campsites]

  Powered by Linux