On Thu, Jul 20, 2023 at 09:59:00AM +0200, Bartosz Golaszewski wrote: > On Thu, Jul 20, 2023 at 5:27 AM Kent Gibson <warthog618@xxxxxxxxx> wrote: ... > as it would be the one allowing the caller to reopen the same chip. Since you do not control the lifetime of the files, the above may not be guaranteed. So, this path is just an arbitrary information from the past. It _was_ consistent with the request, but it does _not_ mean it still is. I would rely on the chip name, which is provided by the DT/driver, if possible. -- With Best Regards, Andy Shevchenko