diff options
author | Sergey Shtylyov <s.shtylyov@omp.ru> | 2021-07-12 21:16:07 +0300 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2021-07-21 10:05:05 +0200 |
commit | e725ace06fc4072a5a9e934805fbe42454b32c90 (patch) | |
tree | d6c6e91c794b2fd2863964348686f518ad1ef335 /drivers/usb/host/xhci-pci-renesas.c | |
parent | 73cb0912894bb9d7a536e7c1a87b43edf481727c (diff) |
usb: host: ohci-spear: simplify calling usb_add_hcd()
There is no need to call platform_get_irq() when the driver's probe()
method calls usb_add_hcd() -- the platform_get_irq()'s result will have
been stored already in the 'irq' local variable...
Acked-by: Alan Stern <stern@rowland.harvard.edu>
Signed-off-by: Sergey Shtylyov <s.shtylyov@omp.ru>
Link: https://lore.kernel.org/r/3e4ad969-f2ae-32f7-53fd-ea369f140703@omp.ru
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/usb/host/xhci-pci-renesas.c')
0 files changed, 0 insertions, 0 deletions