diff options
author | Johan Hovold <[email protected]> | 2023-04-04 09:25:24 +0200 |
---|---|---|
committer | Greg Kroah-Hartman <[email protected]> | 2023-04-20 10:18:23 +0200 |
commit | 9a4d7dd1990383df8ffa09d6879cecb0534405e1 (patch) | |
tree | 6e1a9df666b6334fd24d8e77f429c2f264e14edc | |
parent | bd82857424d37897ad994381f7c580dacf2e2988 (diff) |
USB: dwc3: clean up probe declarations
Clean up the probe variable declarations by removing the stray newlines.
Acked-by: Thinh Nguyen <[email protected]>
Signed-off-by: Johan Hovold <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Greg Kroah-Hartman <[email protected]>
-rw-r--r-- | drivers/usb/dwc3/core.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/drivers/usb/dwc3/core.c b/drivers/usb/dwc3/core.c index 31dd9f21820e..435a4ad780d8 100644 --- a/drivers/usb/dwc3/core.c +++ b/drivers/usb/dwc3/core.c @@ -1766,12 +1766,10 @@ static int dwc3_probe(struct platform_device *pdev) { struct device *dev = &pdev->dev; struct resource *res, dwc_res; + void __iomem *regs; struct dwc3 *dwc; - int ret; - void __iomem *regs; - dwc = devm_kzalloc(dev, sizeof(*dwc), GFP_KERNEL); if (!dwc) return -ENOMEM; |