staging: dgap: refactor ugly dgap_init_one function
authorMark Hounschell <markh@compro.net>
Fri, 25 Apr 2014 18:19:42 +0000 (14:19 -0400)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 16 May 2014 23:07:03 +0000 (16:07 -0700)
commit6a82524167abda7dc92b76a4ba85ff2ceca6f8d8
tree7299151ee4bc0382a1c85f2bf4f0e3aa8063065d
parentf34475f5badfe8a9ad5836c94ca32f16ef07e9a8
staging: dgap: refactor ugly dgap_init_one function

This patch just cleans up the ugly dgap_init_one function

Signed-off-by: Mark Hounschell <markh@compro.net>
Suggested-by: Dan Carpenter <dan.carpenter@oracle.com>
Tested-by: Mark Hounschell <markh@compro.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/dgap/dgap.c