From: Bartosz Golaszewski <bartosz.golaszewski@xxxxxxxxxx> On Thu, 31 Oct 2024 21:01:50 +0100, Bartosz Golaszewski wrote: > This may be a total corner-case but for consistency and completeness I > think it makes sense to also send out line state change events on actions > triggered from the GPIO sysfs class. > > The first two patches use cleanup helpers in sysfs code. The next three > change the code to emit notifications on line export (unexport is > already handled) and active_low & edge changes. > > [...] Applied, thanks! [1/5] gpio: sysfs: use cleanup guards for gpiod_data::mutex commit: d99c980cfe9423cd1ac719a73ae52437da29a45e [2/5] gpio: sysfs: use cleanup guards for the sysfs_lock mutex commit: f4af1671c28854bb0a400740a9c6ebacb8b9aa6b [3/5] gpio: sysfs: emit chardev line-state events on GPIO export commit: 285678c947197b0a071328f9344b0312e5545e92 [4/5] gpio: sysfs: emit chardev line-state events on active-low changes commit: 5a7119e0d951fdf7ebcc25a77565ac184798639a [5/5] gpio: sysfs: emit chardev line-state events on edge store commit: 7b925098c937599c8ad1bc757db80743a990f57e Best regards, -- Bartosz Golaszewski <bartosz.golaszewski@xxxxxxxxxx>