net: bcm63xx_enet: use dev_get_platdata()
authorJingoo Han <jg1.han@samsung.com>
Fri, 30 Aug 2013 04:52:21 +0000 (13:52 +0900)
committerDavid S. Miller <davem@davemloft.net>
Fri, 30 Aug 2013 21:43:35 +0000 (17:43 -0400)
commitcf0e7794ba073ae151e4a2316384af0d26d0740f
treed523cfabe9af5f2bda5fce6bb3749be1eae88cd0
parent1fc2c469aeb55418029780bea3ee9a97d9961d6f
net: bcm63xx_enet: 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/broadcom/bcm63xx_enet.c