diff options
author | Bartosz Golaszewski <bartosz.golaszewski@linaro.org> | 2024-01-24 17:11:38 +0300 |
---|---|---|
committer | Bartosz Golaszewski <bartosz.golaszewski@linaro.org> | 2024-02-12 12:50:58 +0300 |
commit | b93bca4bd6d221d5f34a20d69ec0f1ec636ae7df (patch) | |
tree | 85828a3f8a0d0fd8f6fb826ff51333398d7eb078 /.editorconfig | |
parent | 59cba4a0e6ca1058fbf88fec22530a4e2841802a (diff) | |
download | linux-b93bca4bd6d221d5f34a20d69ec0f1ec636ae7df.tar.xz |
gpio: sysfs: pass the GPIO device - not chip - to sysfs callbacks
We're working towards protecting the chip pointer in struct gpio_device
with SRCU. In order to use it in sysfs callbacks we must pass the pointer
to the GPIO device that wraps the chip instead of the address of the
chip itself as the user data.
Signed-off-by: Bartosz Golaszewski <bartosz.golaszewski@linaro.org>
Reviewed-by: Linus Walleij <linus.walleij@linaro.org>
Acked-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Diffstat (limited to '.editorconfig')
0 files changed, 0 insertions, 0 deletions