aboutsummaryrefslogtreecommitdiff
path: root/drivers/usb/cdns3/cdns3-imx.c
diff options
context:
space:
mode:
authorAndy Shevchenko <[email protected]>2023-01-23 21:17:41 +0200
committerGreg Kroah-Hartman <[email protected]>2023-01-31 10:59:40 +0100
commit297cb3f0b94bfedd781426814f1798a5c5658050 (patch)
treef3dca1d94c0e125c3f2089486d23ffce91185262 /drivers/usb/cdns3/cdns3-imx.c
parented35d9dc3a80f874b511c2dd6fea7112a779dacc (diff)
serial: liteuart: Don't mix devm_*() with non-devm_*() calls
In the probe we need to call all devm_*() first followed by non-devm_*() calls. This is due to reversed clean up that may happen in a wrong order otherwise. The driver currently allocates xarray before calling devm_platform_get_and_ioremap_resource(). While it's not an issue in this certain case, it's still better to be pedantic. Signed-off-by: Andy Shevchenko <[email protected]> Reviewed-by: Gabriel Somlo <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'drivers/usb/cdns3/cdns3-imx.c')
0 files changed, 0 insertions, 0 deletions