aboutsummaryrefslogtreecommitdiff
path: root/drivers/usb/cdns3/cdns3-trace.c
diff options
context:
space:
mode:
authorYang Li <[email protected]>2021-06-17 10:22:03 +0800
committerGeert Uytterhoeven <[email protected]>2021-07-19 10:53:52 +0200
commit97c29755598f98c6c91f68f12bdd3f517e457890 (patch)
treedbe5299e05d70a1ae84ebeebac5018248d659cc0 /drivers/usb/cdns3/cdns3-trace.c
parentd42d57fe86e98c2ab438e30c247d90504a146646 (diff)
clk: renesas: rzg2l: Fix return value and unused assignment
Currently the function returns NULL on error, so exact error code is lost. This patch changes return convention of the function to use ERR_PTR() on error instead. Reported-by: Abaci Robot <[email protected]> Signed-off-by: Yang Li <[email protected]> Link: https://lore.kernel.org/r/[email protected] [geert: Drop curly braces] Signed-off-by: Geert Uytterhoeven <[email protected]>
Diffstat (limited to 'drivers/usb/cdns3/cdns3-trace.c')
0 files changed, 0 insertions, 0 deletions