On Tue, Mar 9, 2021 at 2:26 PM Bartosz Golaszewski <brgl@xxxxxxxx> wrote: > > From: Bartosz Golaszewski <bgolaszewski@xxxxxxxxxxxx> > > Kent suggested I send the patches for v2.0 API in smaller batches for earlier > review instead of dropping a huge patch bomb that will require more work from > my side and may later be negatively reviewed so here's a hopefully the last > part of cleanups that can go into master already before first patches with the > new C API will drop. > > The idea for the new C API is this: all objects are opaque and refcounted. This > is why the chip was converted to reference counting. Lines were removed and > their functionality split into line_info and line_request, this is why I'm > reworking line lookup to return the HW offset within a chip and not the line > object. Other patches are mostly cleanups and cruft shave-off. > > Bartosz Golaszewski (6): > treewide: simplify line lookup > tests: remove line bulk test cases > core: switch to reference counting for gpio chip objects > treewide: remove is_requested() and is_free() > treewide: kill line updating > core: hide the GPIOD_API symbol > If there are no objections, I will apply those soon. Bart