staging: dgap: refactor ugly dgap_init_one function
staging: dgap: refactor ugly dgap_init_one function

This patch just cleans up the ugly dgap_init_one function

Signed-off-by: Mark Hounschell <2768f22284a3a1a19b282345ce7b3c23351472ff@compro.net>
Suggested-by: Dan Carpenter <ff341aa343d564f9e53e9dcb6996be8c04859a66@oracle.com>
Tested-by: Mark Hounschell <2768f22284a3a1a19b282345ce7b3c23351472ff@compro.net>
Signed-off-by: Greg Kroah-Hartman <4645f7897fd33786a2ee1264d590b3c400559d85@linuxfoundation.org>

KristFoundation/Programs,KristFoundation/Programs,KristFoundation/Programs,KristFoundation/Programs,KristFoundation/Programs,KristFoundation/Programs