]> www.infradead.org Git - users/jedix/linux-maple.git/commit
bcma: use new GPIO line value setter callbacks
authorBartosz Golaszewski <bartosz.golaszewski@linaro.org>
Mon, 7 Apr 2025 07:10:49 +0000 (09:10 +0200)
committerJohannes Berg <johannes.berg@intel.com>
Wed, 23 Apr 2025 13:28:24 +0000 (15:28 +0200)
commit1237c5632fe34244ff7d726d4bc96b3048c10562
treeb6e76b0c778e93a8efc8b1c6a075ac02b9ff9ba1
parent4876376988081d636a4c4e5f03a5556386b49087
bcma: use new GPIO line value setter callbacks

struct gpio_chip now has callbacks for setting line values that return
an integer, allowing to indicate failures. Convert the driver to using
them.

Signed-off-by: Bartosz Golaszewski <bartosz.golaszewski@linaro.org>
Reviewed-by: Linus Walleij <linus.walleij@linaro.org>
Link: https://patch.msgid.link/20250407-gpiochip-set-rv-bcma-v1-1-fa403ad76966@linaro.org
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
drivers/bcma/driver_gpio.c