]> git.baikalelectronics.ru Git - kernel.git/commit
net: phy: add module_phy_driver macro
authorJohan Hovold <johan@kernel.org>
Tue, 11 Nov 2014 18:45:57 +0000 (19:45 +0100)
committerDavid S. Miller <davem@davemloft.net>
Wed, 12 Nov 2014 18:52:52 +0000 (13:52 -0500)
commit7ac1518ea4ff73a81da9eda7408694525e910462
tree37a681381ffda08039093d41585516bdbd265aea
parentb6d7ad0e1e41ea50f7b32851541e55962dde0fa5
net: phy: add module_phy_driver macro

Add helper macro for PHY drivers which do not do anything special in
module init/exit. This will allow us to eliminate a lot of boilerplate
code.

Signed-off-by: Johan Hovold <johan@kernel.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
include/linux/phy.h