commit | 2e442aebed99fd27eaa4e3539d9c50ef1cc67013 | [log] [tgz] |
---|---|---|
author | Anton Vasilyev <vasilyev@ispras.ru> | Tue Aug 22 16:24:11 2017 +0300 |
committer | Richard Weinberger <richard@nod.at> | Mon Nov 06 23:26:01 2017 +0100 |
tree | c3062da30637071bbc1b23ab16332c9569e4c9b2 | |
parent | 16271224bcf09f7bbc9b00f70df7928a3e75fc89 [diff] |
mtd: plat-ram: Replace manual resource management by devm Driver contains unsuitable request_mem_region() and release_resource() calls. The patch switches manual resource management by devm interface for readability and error-free simplification. Found by Linux Driver Verification project (linuxtesting.org). Signed-off-by: Anton Vasilyev <vasilyev@ispras.ru> Suggested-by: Boris Brezillon <boris.brezillon@free-electrons.com> Signed-off-by: Richard Weinberger <richard@nod.at>