Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit 3700df92 authored by Markus Elfring's avatar Markus Elfring Committed by Felipe Balbi
Browse files

usb: gadget: bcm63xx_udc: Use common error handling code in bcm63xx_udc_probe()



Add a jump target so that a specific error message is stored only once
at the end of this function implementation.
Replace two calls of the function "dev_err" by goto statements.

This issue was detected by using the Coccinelle software.

Signed-off-by: default avatarMarkus Elfring <elfring@users.sourceforge.net>
Signed-off-by: default avatarFelipe Balbi <felipe.balbi@linux.intel.com>
parent 71a9fda3
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment