mirror of
https://gitee.com/bianbu-linux/linux-6.6
synced 2025-07-12 00:43:36 -04:00
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>
This commit is contained in:
parent
91687c1926
commit
3b31ec1848
3 changed files with 9 additions and 17 deletions
|
@ -170,8 +170,6 @@ struct renesas_usbhs_driver_param {
|
|||
*/
|
||||
int pio_dma_border; /* default is 64byte */
|
||||
|
||||
u32 enable_gpio;
|
||||
|
||||
/*
|
||||
* option:
|
||||
*/
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue