staging/slicoss: return -ENODEV if no devid matches
authorDevendra Naga <devendra.aaru@gmail.com>
Mon, 9 Jul 2012 17:34:20 +0000 (23:04 +0530)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 9 Jul 2012 20:06:21 +0000 (13:06 -0700)
commit0ab1900539d46a3a8b7a006819ef5ec0e3288e5b
tree7c18a6a4af9874ba8c88f91253f96787cd830054
parent2add5f4661ce822fe16afabf925a0133d6b274fb
staging/slicoss: return -ENODEV if no devid matches

if no case matches we are simply asserting and doing break.
and i think we may need to return that -ENODEV , no device is
present, rather assert'ing.

Signed-off-by: Devendra Naga <devendra.aaru@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/slicoss/slicoss.c