Re: [PATCH net-next] net: mdio-mux-gpio: use devm_gpiod_get_array()
From: Jisheng Zhang Date: Tue, 21 Jul 2020 15:01:57 +0800 > Use devm_gpiod_get_array() to simplify the error handling and exit > code path. > > Signed-off-by: Jisheng Zhang Applied.
[PATCH net-next] net: mdio-mux-gpio: use devm_gpiod_get_array()
Use devm_gpiod_get_array() to simplify the error handling and exit code path. Signed-off-by: Jisheng Zhang --- drivers/net/phy/mdio-mux-gpio.c | 11 +++ 1 file changed, 3 insertions(+), 8 deletions(-) diff --git a/drivers/net/phy/mdio-mux-gpio.c b/drivers/net/phy/mdio-mux-gpio.c index 6