]> git.karo-electronics.de Git - linux-beck.git/commit
PNP: ata/pata_isapnp: Use module_pnp_driver to register driver
authorPeter Huewe <PeterHuewe@gmx.de>
Mon, 16 Mar 2015 20:46:32 +0000 (21:46 +0100)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Wed, 18 Mar 2015 21:39:17 +0000 (22:39 +0100)
commit99c876bec30d064679c07d53b44a4e99da10f576
treed764f4b2a49a798ffd7b4babd1c7800c48f96ef8
parent1551660369d00a7e8cdfa12e9af132053eb67140
PNP: ata/pata_isapnp: Use module_pnp_driver to register driver

Removing some boilerplate by using module_pnp_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: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
drivers/ata/pata_isapnp.c