Home
last modified time | relevance | path

Searched hist:"2 e442aeb" (Results 1 – 1 of 1) sorted by relevance

/openbmc/linux/drivers/mtd/maps/
H A Dplat-ram.c2e442aeb Tue Aug 22 08:24:11 CDT 2017 Anton Vasilyev <vasilyev@ispras.ru> 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>
2e442aeb Tue Aug 22 08:24:11 CDT 2017 Anton Vasilyev <vasilyev@ispras.ru> 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>