Re: [PATCH][v3] mdio-mux-gpio: Use GPIO descriptor interface and new gpiod_set_array function
From: Alexandre Courbot <hidden>
Date: 2014-11-28 04:31:01
Also in:
linux-gpio
From: Alexandre Courbot <hidden>
Date: 2014-11-28 04:31:01
Also in:
linux-gpio
On Tue, Nov 25, 2014 at 10:57 PM, Rojhalat Ibrahim [off-list ref] wrote:
Convert mdio-mux-gpio to the GPIO descriptor interface and use the new gpiod_set_array function to set all output signals simultaneously. Signed-off-by: Rojhalat Ibrahim <redacted> Acked-by: David S. Miller <davem@davemloft.net> -- This patch depends on the gpiod_set_array function, which is available in the linux-gpio devel tree. Change log: v3: remove unnecessary braces v2: fix gpiod_get_index usage drivers/net/phy/mdio-mux-gpio.c | 37 +++++++++++++------------------------ 1 file changed, 13 insertions(+), 24 deletions(-)
Looks all good to me! Nice use of this new interface, leading to simpler client code. Reviewed-by: Alexandre Courbot <acourbot@nvidia.com>