]> git.baikalelectronics.ru Git - kernel.git/commit
usb: renesas_usbhs: Switch to GPIO descriptor
authorLinus Walleij <linus.walleij@linaro.org>
Tue, 17 Dec 2019 14:12:41 +0000 (15:12 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 30 Dec 2019 19:37:42 +0000 (20:37 +0100)
commit6cc850b5705a686f984ef4a96a76e2e2c2a6c681
treeb4eeb271cdc7782d6a7ffc8ecf3fa4d5c0ae8c7b
parent29ff61d817ceeecf6393a451b1c132ed0101f311
usb: renesas_usbhs: Switch to GPIO descriptor

The Renesas USBHS driver includes a bit of surplus headers
and uses the old GPIO API so let's switch it to use the
GPIO descriptor.

I noticed that the enable_gpio inside renesas_usbhs_driver_param
isn't really referenced anywhere, and it is also the wrong
type (u32) so let's just delete it and use a local variable
instead.

Cc: Eugeniu Rosca <erosca@de.adit-jv.com>
Cc: Veeraiyan Chidambaram <veeraiyan.chidambaram@in.bosch.com>
Cc: Yoshihiro Shimoda <yoshihiro.shimoda.uh@renesas.com>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Link: https://lore.kernel.org/r/20191217141241.57639-1-linus.walleij@linaro.org
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/usb/renesas_usbhs/common.c
drivers/usb/renesas_usbhs/rcar2.c
include/linux/usb/renesas_usbhs.h