diff options
| author | Ricardo Ribalda Delgado <ricardo.ribalda@gmail.com> | 2018-10-04 15:34:45 +0200 |
|---|---|---|
| committer | Boris Brezillon <boris.brezillon@bootlin.com> | 2018-10-05 10:19:33 +0200 |
| commit | ef0de747f7ad179c7698a5b0e28db05f18ecbf57 (patch) | |
| tree | da065bbd4ac9849d0e1e36d1033309f4c5eeee80 /tools/perf/scripts/python | |
| parent | mtd: physmap_of: Remove unused struct of_device_id (diff) | |
| download | linux-ef0de747f7ad179c7698a5b0e28db05f18ecbf57.tar.gz linux-ef0de747f7ad179c7698a5b0e28db05f18ecbf57.zip | |
mtd: physmap_of: Release resources on error
During probe, if there was an error the memory region and the memory
map were not properly released.This can lead a system unusable if
deferred probe is in use.
Replace mem_request and map with devm_ioremap_resource
Signed-off-by: Ricardo Ribalda Delgado <ricardo.ribalda@gmail.com>
Signed-off-by: Boris Brezillon <boris.brezillon@bootlin.com>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions
