]> asedeno.scripts.mit.edu Git - linux.git/commit
staging: vchiq_shim: avoid code duplication
authorStefan Wahren <stefan.wahren@i2se.com>
Wed, 26 Oct 2016 18:34:19 +0000 (18:34 +0000)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 27 Oct 2016 13:23:53 +0000 (15:23 +0200)
commit6e474d8e3981a63b6e1cf11b838014ed52499804
tree627330f5d5e2525d0879f56302e2bfe99264f567
parentbea845af8d877310bbbacd54e8252566019d5a5e
staging: vchiq_shim: avoid code duplication

Rearrange the polling loops in order to avoid code duplication. Btw we fix
the style of the comments.

Signed-off-by: Stefan Wahren <stefan.wahren@i2se.com>
Reviewed-by: Eric Anholt <eric@anholt.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/vc04_services/interface/vchiq_arm/vchiq_shim.c