Re: [PATCH v13 3/3] gpio: Leverage revocable for accessing struct gpio_chip
From: Bartosz Golaszewski
Date: Thu Sep 17 2026 - 06:36:01 EST
On Sat, 12 Sep 2026 14:35:29 +0200, Tzung-Bi Shih <tzungbi@xxxxxxxxxx> said:
> The underlying chip can be removed asynchronously. `gdev->srcu` is used
> to ensure the synchronization before accessing `gdev->chip`.
>
> Revocable encapsulates the details. Leverage revocable for accessing
> the struct gpio_chip and remove the `gdev->srcu`.
>
> Signed-off-by: Tzung-Bi Shih <tzungbi@xxxxxxxxxx>
> ---
> Bartosz: I dropped your T-b tag. The patch itself didn't change too
> much however the revocable core changed a bit.
I re-added it for the entire series. This patch looks good to me. The rest
seems to still have some issues pointed out by sashiko that I think should be
addressed. As I said before: I'm OK with this being introduced.
Bart