Searched hist:e82bbd6761f7e313141c4033ebb79e3d397b6a9c (Results 1 – 1 of 1) sorted by relevance
/openbmc/linux/drivers/gpio/ |
H A D | gpiolib-cdev.c | diff e82bbd6761f7e313141c4033ebb79e3d397b6a9c Thu Aug 17 06:42:34 CDT 2023 Bartosz Golaszewski <bartosz.golaszewski@linaro.org> 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>
|