[PATCH 3.6.0- 0/3] NET: use module_platform_driver macro

DORMANTno replies

From: Srinivas KANDAGATLA <hidden>
Date: 2012-10-10 18:30:25

From: Srinivas Kandagatla <redacted>

Running below Coccinelle lookup pattern like below on the 
latest kernel showed about 52 hits. This patch series is a subset 
of those 52 patches, so that it will be easy for maintainers to review.
Hopefully these patches will get rid of some code duplication in kernel.

@  @
- initfunc(void)
- { return platform_driver_register(&dr); }

...

- module_init(initfunc);
...

- exitfunc(void)
- { platform_driver_unregister(&dr); }

...

- module_exit(exitfunc);
+ module_platform_driver(dr); 


Srinivas Kandagatla (3):
  net/mdio-gpio: use module_platform_driver macro
  net/mdio-octeon: use module_platform_driver macro
  wireless/ath5k: use module_platform_driver macro

 drivers/net/phy/mdio-gpio.c          |   13 +------------
 drivers/net/phy/mdio-octeon.c        |   14 +-------------
 drivers/net/wireless/ath/ath5k/ahb.c |   16 +---------------
 3 files changed, 3 insertions(+), 40 deletions(-)
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help