Ricardo Ribalda Delgado ef0de747f7 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>
2018-10-05 10:19:33 +02:00
..
2017-11-06 23:26:01 +01:00
2017-11-06 23:26:01 +01:00
2017-11-06 23:26:01 +01:00
2017-08-15 14:00:46 +02:00
2017-11-06 23:26:01 +01:00
2017-11-06 23:26:01 +01:00
2017-11-06 23:26:01 +01:00