aboutsummaryrefslogtreecommitdiff
path: root/drivers/usb/cdns3/cdns3-trace.c
diff options
context:
space:
mode:
authorMichael Walle <[email protected]>2022-04-04 11:56:05 +0200
committerShawn Guo <[email protected]>2022-06-27 14:51:51 +0800
commitab4988d6a39348dd8c031ef6db946afb9a543f0f (patch)
tree1b2a25741003d0eb1ec9545ecc5fdbf2dbb20ce5 /drivers/usb/cdns3/cdns3-trace.c
parent6de6cb89fc031cf95cb759bbf9fa00b139e0281a (diff)
soc: fsl: guts: embed fsl_guts_get_svr() in probe()
Move the reading of the SVR into the probe function as fsl_guts_get_svr() is the only user of the static guts variable and this lets us drop that as well as the malloc() for this variable. Also, we can unmap the memory region after we accessed it, which will simplify error handling later. Signed-off-by: Michael Walle <[email protected]> Acked-by: Arnd Bergmann <[email protected]> Signed-off-by: Shawn Guo <[email protected]>
Diffstat (limited to 'drivers/usb/cdns3/cdns3-trace.c')
0 files changed, 0 insertions, 0 deletions