staging: dgap: make dgap_found_board() return a brd pointer
authorDaeseok Youn <daeseok.youn@gmail.com>
Fri, 20 Jun 2014 09:21:50 +0000 (18:21 +0900)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 20 Jun 2014 15:28:02 +0000 (08:28 -0700)
commit7bc26a68ed6f7c5949526ab884439b86a6b28350
treebc625f70192304dabab4f0e47436d8fce2e2c74f
parent55a4ea71ca4225f723cca1c44da569bd4de9d739
staging: dgap: make dgap_found_board() return a brd pointer

Make dgap_found_board() return a brd pointer and that brd pointer
assign to dgap_board[] in the end of the dgap_init_one().

Signed-off-by: Daeseok Youn <daeseok.youn@gmail.com>
Reviewed-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/dgap/dgap.c