aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/util/scripting-engines/trace-event-python.c
diff options
context:
space:
mode:
authorBaolin Wang <[email protected]>2018-05-09 11:23:50 +0800
committerVinod Koul <[email protected]>2018-05-09 11:43:17 +0530
commite7f063ae1a31e953bd2460d81697d18408f03641 (patch)
tree54b88a914e42b0453fbee8ad3430b088fb3f7b9a /tools/perf/util/scripting-engines/trace-event-python.c
parente891e41ee301a57fc74a4a0d4da60fdc9669e50c (diff)
dmaengine: sprd: Use devm_ioremap_resource() to map memory
Instead of checking the return value of platform_get_resource(), we can use devm_ioremap_resource() which has the NULL pointer check and the memory region requesting. Suggested-by: Lars-Peter Clausen <[email protected]> Signed-off-by: Baolin Wang <[email protected]> Signed-off-by: Vinod Koul <[email protected]>
Diffstat (limited to 'tools/perf/util/scripting-engines/trace-event-python.c')
0 files changed, 0 insertions, 0 deletions