+17
−22
Loading
Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more
Use platform driver APIs to map memory so that it will automatically free the memory in case of errors. Signed-off-by:Dinh Nguyen <dinguyen@kernel.org> [sboyd@kernel.org: Return -ENOMEM error pointers, check for error pointer at call site] Signed-off-by:
Stephen Boyd <sboyd@kernel.org>