aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/drivers/gpio/gpio-regmap.c
diff options
context:
space:
mode:
authorBartosz Golaszewski <bartosz.golaszewski@linaro.org>2025-02-20 10:57:00 +0100
committerBartosz Golaszewski <bartosz.golaszewski@linaro.org>2025-02-26 11:17:39 +0100
commitd36058b89a4aa30865d4cfeb101bbfd1d1dcb22f (patch)
tree38a7cd46f13bd0567b1d6f3ed97a5d3bca3ab8a1 /drivers/gpio/gpio-regmap.c
parentgpiolib: make value setters have return values (diff)
downloadwireguard-linux-d36058b89a4aa30865d4cfeb101bbfd1d1dcb22f.tar.xz
wireguard-linux-d36058b89a4aa30865d4cfeb101bbfd1d1dcb22f.zip
gpiolib: wrap gpio_chip::set()
We have three places where we dereference the gpio_chip::set() callback. In order to make it easier to incorporate the upcoming new variant of this callback (one returning an integer value), wrap it in a helper so that the dereferencing only happens once. Reviewed-by: Linus Walleij <linus.walleij@linaro.org> Acked-by: Uwe Kleine-König <u.kleine-koenig@baylibre.com> Link: https://lore.kernel.org/r/20250220-gpio-set-retval-v2-3-bc4cfd38dae3@linaro.org Signed-off-by: Bartosz Golaszewski <bartosz.golaszewski@linaro.org>
Diffstat (limited to 'drivers/gpio/gpio-regmap.c')
0 files changed, 0 insertions, 0 deletions