staging: dgap: check unchecked return values
authorMark Hounschell <markh@compro.net>
Fri, 25 Apr 2014 17:10:18 +0000 (13:10 -0400)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 16 May 2014 19:18:24 +0000 (12:18 -0700)
commit7496e0538666012b89d2280f3f6681345002a454
tree734aeb52da19c7e2e0327553ed6b05baef2a64f8
parentcacaf1045cc45648cb7b19542b3d8a0a7057c37a
staging: dgap: check unchecked return values

Check the return values of dgap_tty_register and
dgap_finalize_board_init. If they fail for a
particular board we should not be able to try
to use that board. IE. no device entries shall
be created for that board.

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