]> 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)
commit7bdac411a91a5ce8136a67040f8e616470f65d0c
tree37a681381ffda08039093d41585516bdbd265aea
parent8b86ddedfe976251f6b7432b2b1205f48e78b89f
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