commit | ad8ce834bfec77c8ae2fbb3a0593ae87bdecebcb | [log] [tgz] |
---|---|---|
author | Andy Shevchenko <andriy.shevchenko@linux.intel.com> | Wed Feb 07 19:47:53 2018 +0000 |
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | Wed Mar 14 17:54:09 2018 +0100 |
tree | 3dc6cda5b0506f07e82e08204f7c8bbb6f680190 | |
parent | 1089c91111a13e93955057e37f6772c0af629a2a [diff] |
parport: Convert to use managed functions pcim_* and devm_* This makes the error handling much more simpler than open-coding everything and in addition makes the probe function smaller an tidier. 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>