aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/event_analyzing_sample.py
diff options
context:
space:
mode:
authorAmitoj Kaur Chawla <[email protected]>2016-02-18 20:11:50 +0530
committerGreg Kroah-Hartman <[email protected]>2016-02-20 15:02:06 -0800
commitbab469cdb6674cdf03b9243663cbbb8326510b41 (patch)
tree985872f5d4a62928d2193f7110bafd9050dbeda7 /tools/perf/scripts/python/event_analyzing_sample.py
parent8661fca6f679996133765fa905e9a480b8c96a74 (diff)
staging: most: hdm-dim2: Switch to devm_ioremap_resource()
Devm_ functions allocate memory that is released when a driver detaches. Replace request_mem_region and ioremap with devm_ioremap_resource and remove corresponding freeing functions release_mem_region and iounmap from probe and remove functions of a platform device. Also, an unnecessary platform_set_drvdata() has been removed since the driver core clears the driver data to NULL after device release or on probe failure. There is no need to manually clear the device driver data to NULL. Lastly, unnecessary labels have been removed. Signed-off-by: Amitoj Kaur Chawla <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/event_analyzing_sample.py')
0 files changed, 0 insertions, 0 deletions