summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorDaniel Mack <zonque@gmail.com>2013-08-10 18:52:16 +0200
committerVinod Koul <vinod.koul@intel.com>2013-08-14 13:55:15 +0530
commit638a542cc450e5dca52c82437d746548c0bcbd8b (patch)
treec77d879345998f76165543e5bd8f7546127e1e9d /lib
parent8b298ded902a96cf434738d2a1d83f4a768362ea (diff)
downloadop-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')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud