]> git.karo-electronics.de Git - linux-beck.git/commit
PNP: ide/ide-pnp: Use module_pnp_driver to register driver
authorPeter Huewe <PeterHuewe@gmx.de>
Mon, 16 Mar 2015 20:46:33 +0000 (21:46 +0100)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Wed, 18 Mar 2015 21:39:17 +0000 (22:39 +0100)
commit6a5333092e4674c1e1f7de05ce6a167273f5afdb
treeba6e2ba8e47cc4dd89eff998bf21551aeb220abd
parent99c876bec30d064679c07d53b44a4e99da10f576
PNP: ide/ide-pnp: 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/ide/ide-pnp.c