parisc/superio: Use module_pci_driver to register driver
authorPeter Huewe <PeterHuewe@gmx.de>
Mon, 20 May 2013 20:56:45 +0000 (20:56 +0000)
committerHelge Deller <deller@gmx.de>
Fri, 24 May 2013 20:35:46 +0000 (22:35 +0200)
commit2c2d32bed1a1bb6121494965b31badb280f04b0e
treec9423288585b1bc5b95e3393dd7e1971256f225d
parentb63a2bbc0b9b106a93e11952ab057e2408f2eb02
parisc/superio: Use module_pci_driver to register driver

Removing some boilerplate by using module_pci_driver instead of calling
register and unregister in the otherwise empty init/exit functions.

Signed-off-by: Peter Huewe <peterhuewe@gmx.de>
Signed-off-by: Helge Deller <deller@gmx.de>
drivers/parisc/superio.c