commit | b0b0a6438ea5d20ff4b0f64af0f210029d146079 | [log] [tgz] |
---|---|---|
author | Andy Shevchenko <andriy.shevchenko@linux.intel.com> | Wed Feb 07 19:47:56 2018 +0000 |
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | Wed Mar 14 17:54:09 2018 +0100 |
tree | 5f342b20daae1185eea529f878bbe26215b1152a | |
parent | 82dfabf1c4d5f76d2ed854ae30e4af7f7291bf0c [diff] |
parport: Switch to use module_pci_driver() macro Eliminate some boilerplate code by using module_pci_driver() instead of init/exit, moving the salient bits from init into probe. 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>