Re: [PATCH v2 2/9] gpio: sysfs: only get the dirent reference for the value attr once
From: Andy Shevchenko
Date: Fri Jun 27 2025 - 11:36:13 EST
On Mon, Jun 23, 2025 at 10:59:50AM +0200, Bartosz Golaszewski wrote:
>
> There's no reason to retrieve the reference to the sysfs dirent every
> time we request an interrupt, we can as well only do it once when
> exporting the GPIO.
...
> - struct kernfs_node *value_kn;
> + struct kernfs_node *value_class_node;
This change is not mentioned in the commit message. Why?
--
With Best Regards,
Andy Shevchenko