staging: sm750fb: lynxfb_pci_probe: return actual errors
authorMike Rapoport <mike.rapoport@gmail.com>
Sun, 17 Jan 2016 17:59:50 +0000 (19:59 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 8 Feb 2016 02:50:53 +0000 (18:50 -0800)
commitbaf24530a48c991144aaf82007d4f5e21eb47aa8
treec3aceaac3aca9dc0fca155ea1956b8b5e3541c66
parent0fbc7c505680ca6efe2486afb34866602781c980
staging: sm750fb: lynxfb_pci_probe: return actual errors

The lynxfb_pci_probe always returned -ENODEV in case of error. Modify it
so that actual error code will be propogated to the caller.

Signed-off-by: Mike Rapoport <mike.rapoport@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/sm750fb/sm750.c