OSDN Git Service

parport: Don't shadow error codes in ->probe()
authorAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Wed, 7 Feb 2018 19:47:54 +0000 (19:47 +0000)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 14 Mar 2018 16:54:09 +0000 (17:54 +0100)
commit96edf5376e9250eb61d2bbc5432c13846878edb2
tree292b41ffdfc35cfbda526ad9baf40eb34ced99c9
parentad8ce834bfec77c8ae2fbb3a0593ae87bdecebcb
parport: Don't shadow error codes in ->probe()

When ->probe() calls helper functions return theirs error codes
instead of shadowing them.

Tested-by: Nikola Ciprich <nikola.ciprich@linuxbox.cz>
Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Signed-off-by: Sudip Mukherjee <sudipm.mukherjee@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/parport/parport_serial.c