On Tue, Mar 15, 2022 at 6:32 AM Kent Gibson <warthog618@xxxxxxxxx> wrote: > > The core library should be minimalist, only performing the operations > required, but gpiod_chip_open() always fetches the chip info, > even though the majority of the time the chip will only be used to > request a line, so the chip info is not required. > > Split the chip_info from the chip, in the same style as line_info, and > update methods and tools appropriately. > > In the rare occasions that the user requires the chip info they can > request it themselves using gpiod_chip_get_info(), as demonstrated > in the tool changes. > > Signed-off-by: Kent Gibson <warthog618@xxxxxxxxx> Ha! Interesting take. Makes sense. I queued this but tweaked a couple things (some bad copy-paste and stray newlines). Bart