Re: [PATCH v2] gpio: sim: access sysfs attributes as const

From: Bartosz Golaszewski

Date: Tue Oct 20 2026 - 08:36:53 EST



On Mon, 19 Oct 2026 12:45:48 +0200, Bartosz Golaszewski wrote:
> Use the const variant of constainer_of() to access struct
> gpio_sim_attribute which wraps the dynamically allocated sysfs
> attributes for value and pull of simulated GPIO lines in line with the
> currently preferred approach.
>
>

Applied, thanks!

[1/1] gpio: sim: access sysfs attributes as const
https://git.kernel.org/brgl/c/8dffd86d0221e87ff8374ca5b8bb1352b6d94468

Best regards,
--
Bartosz Golaszewski <bartosz.golaszewski@xxxxxxxxxxxxxxxx>