diff options
author | Bartosz Golaszewski <bartosz.golaszewski@linaro.org> | 2023-08-17 13:42:34 +0200 |
---|---|---|
committer | Bartosz Golaszewski <bartosz.golaszewski@linaro.org> | 2023-08-21 15:57:05 +0200 |
commit | e82bbd6761f7e313141c4033ebb79e3d397b6a9c (patch) | |
tree | 5c6a8cec30bbb9676bea554789e6fd3d8d62dbd7 /drivers/gpio/gpiolib.c | |
parent | 17a7ca35890b411414a71fbeef13cb65fe9511df (diff) | |
download | linux-e82bbd6761f7e313141c4033ebb79e3d397b6a9c.tar.gz linux-e82bbd6761f7e313141c4033ebb79e3d397b6a9c.tar.bz2 linux-e82bbd6761f7e313141c4033ebb79e3d397b6a9c.zip |
gpio: cdev: open-code to_gpio_chardev_data()
This function is a wrapper around container_of(). It's used only once and
we will have a second notifier soon, so instead of having two flavors of
this helper, let's just open-code where needed.
Signed-off-by: Bartosz Golaszewski <bartosz.golaszewski@linaro.org>
Reviewed-by: Linus Walleij <linus.walleij@linaro.org>
Reviewed-by: Kent Gibson <warthog618@gmail.com>
Diffstat (limited to 'drivers/gpio/gpiolib.c')
0 files changed, 0 insertions, 0 deletions