diff options
author | 2012-03-17 12:44:01 +0530 | |
---|---|---|
committer | 2012-03-19 18:14:07 +0530 | |
commit | 1a77b127ae147f5827043a9896d7f4cb248b402e (patch) | |
tree | 5357d7e457307e698bd635c837774d271588cd4f /tools/perf/scripts/python/syscall-counts-by-pid.py | |
parent | spi: omap2-mcspi: convert to module_platform_driver (diff) | |
download | linux-dev-1a77b127ae147f5827043a9896d7f4cb248b402e.tar.xz linux-dev-1a77b127ae147f5827043a9896d7f4cb248b402e.zip |
OMAP : SPI : use devm_* functions
The various devm_* functions allocate memory that is released when a driver
detaches. This patch uses devm_request_and_ioremap
to request memory in probe function. Since the freeing is not
needed the calls are deleted from remove function.Also use
use devm_kzalloc for the cs memory allocation.
Signed-off-by: Shubhrajyoti D <shubhrajyoti@ti.com>
Diffstat (limited to 'tools/perf/scripts/python/syscall-counts-by-pid.py')
0 files changed, 0 insertions, 0 deletions