staging: dgap: Simplify dgap_find_config
authorMark Hounschell <markh@compro.net>
Wed, 28 May 2014 20:17:55 +0000 (16:17 -0400)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 28 May 2014 21:35:09 +0000 (14:35 -0700)
commit0be048cbc66e0cc98e9578769afede9fe103806b
tree035c19d4762de18cc17516ce6a810acc03a7dd86
parent9a133a9039bf8f65d79937ec05db74d7dd0a069b
staging: dgap: Simplify dgap_find_config

Simplify ugly dgap_find_config function

Signed-off-by: Mark Hounschell <markh@compro.net>
Tested-by: Mark Hounschell <markh@compro.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/dgap/dgap.c