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