staging: dgap: Simplify get_altpin and get_useintr functions
staging: dgap: Simplify get_altpin and get_useintr functions

Simplify dgap_config_get_useintr and dgap_config_get_altpin
changing the case statement to an if statement.

Signed-off-by: Mark Hounschell <2768f22284a3a1a19b282345ce7b3c23351472ff@compro.net>
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