ethernet: realtek: use module_pci_driver
authorVarka Bhadram <varkab@cdac.in>
Wed, 23 Jul 2014 03:49:48 +0000 (09:19 +0530)
committerDavid S. Miller <davem@davemloft.net>
Wed, 23 Jul 2014 21:56:40 +0000 (14:56 -0700)
This patch converts to use the macro module_pci_driver, which makes
the code smaller and simpler.

Previously in this driver we are having driver version info will be
printed log buffer based on whether the driver selected as module
or statically into image itself. By using the module_pci_driver that
part of the code removed. For the first time of the device init,
we are making the version info to be printed once.

Signed-off-by: Varka Bhadram <varkab@cdac.in>
Signed-off-by: David S. Miller <davem@davemloft.net>

No differences found