net: stmmac: use dev_get_platdata()
authorJingoo Han <jg1.han@samsung.com>
Fri, 30 Aug 2013 05:13:46 +0000 (14:13 +0900)
committerDavid S. Miller <davem@davemloft.net>
Fri, 30 Aug 2013 21:43:39 +0000 (17:43 -0400)
commitf91b29f5b8709a3968ce0e155cfeab2bc6f733dd
tree7b3ff265a2f8b7266601e955039fadae0cc8382a
parentc607a0d99cef3e14a2fe99771348a49e6cb4fa55
net: stmmac: use dev_get_platdata()

Use the wrapper function for retrieving the platform data instead of
accessing dev->platform_data directly. This is a cosmetic change
to make the code simpler and enhance the readability.

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