aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/sched-migration.py
diff options
context:
space:
mode:
authorMichael Walle <michael@walle.cc>2022-04-04 11:56:05 +0200
committerShawn Guo <shawnguo@kernel.org>2022-06-27 14:51:51 +0800
commitab4988d6a39348dd8c031ef6db946afb9a543f0f (patch)
tree1b2a25741003d0eb1ec9545ecc5fdbf2dbb20ce5 /tools/perf/scripts/python/sched-migration.py
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 <michael@walle.cc> Acked-by: Arnd Bergmann <arnd@arndb.de> Signed-off-by: Shawn Guo <shawnguo@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/sched-migration.py')
0 files changed, 0 insertions, 0 deletions