]> asedeno.scripts.mit.edu Git - linux.git/commit
net: pch_gbe: Use module_pci_driver()
authorPaul Burton <paul.burton@mips.com>
Sat, 23 Jun 2018 03:17:51 +0000 (20:17 -0700)
committerDavid S. Miller <davem@davemloft.net>
Sat, 23 Jun 2018 11:52:09 +0000 (20:52 +0900)
commit99a9c28863ccccf25f6e95c5b38cb6884d922a7f
tree9101eb77970be97038e03cad61bf2430311083bd
parent90e3f637eb4d2e1fdb6a799e758a21c2a4e20a1d
net: pch_gbe: Use module_pci_driver()

Make use of the module_pci_driver() macro to remove some needless
boilerplate code from the pch_gbe driver. This does have the side effect
of removing the print of the driver's version during probe, but this is
pretty useless information anyway - the version has changed only once
whilst the driver has been in mainline, despite many changes being made
to it before and since.

Signed-off-by: Paul Burton <paul.burton@mips.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/oki-semi/pch_gbe/pch_gbe_main.c