]> git.baikalelectronics.ru Git - kernel.git/commit
Merge branch 'module_phy_driver'
authorDavid S. Miller <davem@davemloft.net>
Wed, 12 Nov 2014 18:53:11 +0000 (13:53 -0500)
committerDavid S. Miller <davem@davemloft.net>
Wed, 12 Nov 2014 18:53:11 +0000 (13:53 -0500)
commit36b2bee5b03e886252b8f5bbeee270a84d582202
treef51f31917782679af7e9dbbd445155130323469b
parentb6d7ad0e1e41ea50f7b32851541e55962dde0fa5
parent9c8b13f24896fc622d622fa3757a968c1af8158e
Merge branch 'module_phy_driver'

Johan Hovold says:

====================
net: phy: add module_phy_driver macro

Add module_phy_driver macro that can be used by PHY drivers that only
calls phy_driver_register or phy_drivers_register (and the corresponding
unregister functions) in their module init (and exit).

This allows us to eliminate a lot of boilerplate code.

Split in three patches (actual macro and two driver change classes) in
order to facilitate review.
====================

Reviewed-by: Florian Fainelli <f.fainelli@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>