staging: rtl8187se: r8180_core.c: Inspect the return value of register_netdev()
authorKumar Amit Mehta <gmate.amit@gmail.com>
Wed, 14 Nov 2012 10:00:57 +0000 (15:30 +0530)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 15 Nov 2012 00:34:58 +0000 (16:34 -0800)
Inspect the return value of register_netdev() in the driver probe routine and
return -ENODEV in case of error.

Signed-off-by: Kumar Amit Mehta <gmate.amit@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>

No differences found