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)
commit14f645d0deb4d189612e139c4270a4e82ce8a2db
treed817bc76a8c430bfc9bbfd7d0db7a55103caff86
parente827c122992127de6bc8de34d5d113fe34c382fb
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