Commit 98ce1eb1fd87e ("gpiolib: introduce gpio_chip setters that return values") added new line setter callbacks to struct gpio_chip. They allow to indicate failures to callers. We're in the process of converting all GPIO controllers to using them before removing the old ones. This series converts all GPIO chips implemented under drivers/net/. Signed-off-by: Bartosz Golaszewski <bartosz.golaszewski@xxxxxxxxxx> --- Changes in v2: - propagate the return value of mcp251x_spi_write() in the mcp251x driver up to the new GPIO callbacks (and the old request() too) - check the return value of phy_read_mmd() as well in qca807x - Link to v1: https://lore.kernel.org/r/20250610-gpiochip-set-rv-net-v1-0-35668dd1c76f@xxxxxxxxxx --- Bartosz Golaszewski (5): net: dsa: vsc73xx: use new GPIO line value setter callbacks net: dsa: mt7530: use new GPIO line value setter callbacks net: can: mcp251x: propagate the return value of mcp251x_spi_write() net: can: mcp251x: use new GPIO line value setter callbacks net: phy: qca807x: use new GPIO line value setter callbacks drivers/net/can/spi/mcp251x.c | 37 +++++++++++++++++++++++----------- drivers/net/dsa/mt7530.c | 6 ++++-- drivers/net/dsa/vitesse-vsc73xx-core.c | 10 ++++----- drivers/net/phy/qcom/qca807x.c | 13 ++++++------ 4 files changed, 41 insertions(+), 25 deletions(-) --- base-commit: 19272b37aa4f83ca52bdf9c16d5d81bdd1354494 change-id: 20250527-gpiochip-set-rv-net-9e7b91a42f7c Best regards, -- Bartosz Golaszewski <bartosz.golaszewski@xxxxxxxxxx>