diff options
author | Daniel Mack <zonque@gmail.com> | 2013-08-10 18:52:16 +0200 |
---|---|---|
committer | Vinod Koul <vinod.koul@intel.com> | 2013-08-14 13:55:15 +0530 |
commit | 638a542cc450e5dca52c82437d746548c0bcbd8b (patch) | |
tree | c77d879345998f76165543e5bd8f7546127e1e9d /lib/show_mem.c | |
parent | 8b298ded902a96cf434738d2a1d83f4a768362ea (diff) | |
download | op-kernel-dev-638a542cc450e5dca52c82437d746548c0bcbd8b.zip op-kernel-dev-638a542cc450e5dca52c82437d746548c0bcbd8b.tar.gz |
dma: mmp_pdma: refactor unlocking path in lookup_phy()
As suggested by Ezequiel GarcĂa, release the spinlock at the end of the
function only, and use a goto for the control flow.
Just a minor cleanup.
Signed-off-by: Daniel Mack <zonque@gmail.com>
Acked-by: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Vinod Koul <vinod.koul@intel.com>
Diffstat (limited to 'lib/show_mem.c')
0 files changed, 0 insertions, 0 deletions