net: dm9000: Use module_platform_driver()
authorSachin Kamat <sachin.kamat@linaro.org>
Mon, 18 Mar 2013 01:50:46 +0000 (01:50 +0000)
committerDavid S. Miller <davem@davemloft.net>
Mon, 18 Mar 2013 17:02:36 +0000 (13:02 -0400)
commita8f9c3e4c9826fb277453ed02d059591d6b6ebae
tree6f4db72be36d2cde1f3e4400430bd0a3f3ce87ec
parent9a18dd15e2ec934d8265009d3882955dcc059a49
net: dm9000: 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>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/davicom/dm9000.c