Commit 7464c88
pinctrl: mediatek: airoha: 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>
Acked-by: Lorenzo Bianconi <lorenzo@kernel.org>
Link: https://lore.kernel.org/20250425-gpiochip-set-rv-pinctrl-mediatek-v1-1-93e6a01855e7@linaro.org
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>1 parent 781411f commit 7464c88
1 file changed
Lines changed: 8 additions & 11 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2266 | 2266 | | |
2267 | 2267 | | |
2268 | 2268 | | |
2269 | | - | |
2270 | | - | |
| 2269 | + | |
| 2270 | + | |
2271 | 2271 | | |
2272 | 2272 | | |
2273 | 2273 | | |
2274 | 2274 | | |
2275 | 2275 | | |
2276 | | - | |
2277 | | - | |
| 2276 | + | |
| 2277 | + | |
| 2278 | + | |
2278 | 2279 | | |
2279 | 2280 | | |
2280 | 2281 | | |
| |||
2299 | 2300 | | |
2300 | 2301 | | |
2301 | 2302 | | |
2302 | | - | |
2303 | | - | |
2304 | | - | |
| 2303 | + | |
2305 | 2304 | | |
2306 | 2305 | | |
2307 | 2306 | | |
| |||
2438 | 2437 | | |
2439 | 2438 | | |
2440 | 2439 | | |
2441 | | - | |
| 2440 | + | |
2442 | 2441 | | |
2443 | 2442 | | |
2444 | 2443 | | |
| |||
2734 | 2733 | | |
2735 | 2734 | | |
2736 | 2735 | | |
2737 | | - | |
2738 | | - | |
2739 | | - | |
| 2736 | + | |
2740 | 2737 | | |
2741 | 2738 | | |
2742 | 2739 | | |
| |||
0 commit comments