]> git.karo-electronics.de Git - linux-beck.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)
commitc31accd159a6477b91de61ae237dce38e3f3ee4d
tree37a681381ffda08039093d41585516bdbd265aea
parentc647cc3fd5ee3c3aba34a00326e684684d491de0
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