net: at91_ether: use module_platform_driver_probe()
authorJingoo Han <jg1.han@samsung.com>
Mon, 4 Mar 2013 16:42:03 +0000 (16:42 +0000)
committerDavid S. Miller <davem@davemloft.net>
Wed, 6 Mar 2013 04:39:13 +0000 (23:39 -0500)
commitecad0a684c30c8f28c332c12f0746a22189be4f0
tree45aa2f07acb0be15340b6fad30ba3b1a4082ef4e
parent9f225788cc047fb7c2ef2326eb4f86dee890e2ef
net: at91_ether: use module_platform_driver_probe()

This patch uses module_platform_driver_probe() macro which makes
the code smaller and simpler.

Signed-off-by: Jingoo Han <jg1.han@samsung.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/cadence/at91_ether.c