On Sun, Mar 05, 2017 at 01:54:12PM +0100, Linus Walleij wrote: > From: Lee Jones <lee.jones@xxxxxxxxxx> > > The commits mentioned below adapt the GPIO API to allow more information > to be passed directly through devm_get_gpiod_from_child() in the first > instance. This facilitates the removal of subsequent calls, such as > gpiod_direction_output(). This patch firstly moves to utilise the new > API and secondly removes the now superfluous call do set the direction. > > Reported-by: Stephen Rothwell <sfr@xxxxxxxxxxxxxxxx> > Suggested-by: Boris Brezillon <boris.brezillon@xxxxxxxxxxxxxxxxxx> > Signed-off-by: Lee Jones <lee.jones@xxxxxxxxxx> > [Also drop the header file dummies that only this driver was using] > Signed-off-by: Linus Walleij <linus.walleij@xxxxxxxxxx> > --- > Greg: please go ahead and merge this for the -rc:s, or toss in an > ACK and I will merge it as a GPIO fix. > > THANKS for pointing out this painless way to phase out APIs. Acked-by: Greg Kroah-Hartman <gregkh@xxxxxxxxxxxxxxxxxxx> -- To unsubscribe from this list: send the line "unsubscribe linux-serial" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html