usb: gadget: at91_udc: Convert to GPIO descriptors
authorBalamanikandan Gunasundar <balamanikandan.gunasundar@microchip.com>
Tue, 26 Oct 2021 08:56:10 +0000 (14:26 +0530)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 17 Nov 2021 13:41:15 +0000 (14:41 +0100)
commit4a555f2b8d31d2dae523b56613a14360061e4c76
tree7a77cbfb4f52304819b95c0033029c13e168bf9a
parent16d42759207fc3d1bff7cfd330a08a225e470ba0
usb: gadget: at91_udc: Convert to GPIO descriptors

Replace the legacy GPIO APIs with gpio descriptor consumer
interface. Remove all gpio inversion(active low) flags as it is
already handled by the gpiod_set_value() and gpiod_get_value()
functions.

Reviewed-by: Dan Sneddon <dan.sneddon@microchip.com>
Signed-off-by: Balamanikandan Gunasundar <balamanikandan.gunasundar@microchip.com>
Link: https://lore.kernel.org/r/20211026085610.25264-1-balamanikandan.gunasundar@microchip.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/usb/gadget/udc/at91_udc.c
drivers/usb/gadget/udc/at91_udc.h