]> git.baikalelectronics.ru Git - kernel.git/commit
net: ftgmac100: Use module_platform_driver()
authorSachin Kamat <sachin.kamat@linaro.org>
Mon, 18 Mar 2013 01:50:48 +0000 (01:50 +0000)
committerDavid S. Miller <davem@davemloft.net>
Mon, 18 Mar 2013 17:02:37 +0000 (13:02 -0400)
commit7605d9bd8fb87a3c2862c244a68b5f532212dfb8
treed817bc76a8c430bfc9bbfd7d0db7a55103caff86
parent712a77331346b6825e7a1e18bd178725f189764d
net: ftgmac100: Use module_platform_driver()

module_platform_driver macro removes some boilerplate and makes
the code simpler.

Signed-off-by: Sachin Kamat <sachin.kamat@linaro.org>
Cc: Po-Yu Chuang <ratbert@faraday-tech.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/faraday/ftgmac100.c