• Paul Burton's avatar
    net: pch_gbe: Use module_pci_driver() · 99a9c288
    Paul Burton authored
    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: default avatarPaul Burton <paul.burton@mips.com>
    Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
    99a9c288
pch_gbe_main.c 77.6 KB