mirror of
https://github.com/torvalds/linux.git
synced 2026-09-25 21:21:09 -04:00
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 <[email protected]> Suggested-by: Boris Brezillon <[email protected]> Signed-off-by: Lee Jones <[email protected]> [Also drop the header file dummies that only this driver was using] Acked-by: Greg Kroah-Hartman <[email protected]> Signed-off-by: Linus Walleij <[email protected]>