clk: imx: scu: Use common error handling code in imx_clk_scu_alloc_dev()
authorMarkus Elfring <elfring@users.sourceforge.net>
Fri, 22 Dec 2023 11:56:48 +0000 (12:56 +0100)
committerAbel Vesa <abel.vesa@linaro.org>
Mon, 26 Feb 2024 08:59:46 +0000 (10:59 +0200)
commite4818d3b3f621e996b5a1d1a4913d11ccf769c24
treea380bd64a98c1301589efdc287fae72cdfc4d7a4
parente1ed0b0362285981c575f12ae9e8b9dfe56a046c
clk: imx: scu: Use common error handling code in imx_clk_scu_alloc_dev()

Add a jump target so that a bit of exception handling can be better reused
at the end of this function.

Signed-off-by: Markus Elfring <elfring@users.sourceforge.net>
Reviewed-by: Peng Fan <peng.fan@nxp.com>
Link: https://lore.kernel.org/r/01446ce9-c0e8-4467-8b2d-fd736bc5b8e4@web.de
Signed-off-by: Abel Vesa <abel.vesa@linaro.org>
drivers/clk/imx/clk-scu.c