]> Pileus Git - ~andy/linux/commit
net: macb: use dev_get_platdata()
authorJingoo Han <jg1.han@samsung.com>
Fri, 30 Aug 2013 05:12:21 +0000 (14:12 +0900)
committerDavid S. Miller <davem@davemloft.net>
Fri, 30 Aug 2013 21:43:39 +0000 (17:43 -0400)
commitc607a0d99cef3e14a2fe99771348a49e6cb4fa55
tree2a4312016fe035fad9d37987c67a3d37fcc5c0af
parent09a274805676239d52198503ad552537c1148aad
net: macb: 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>
Acked-by: Nicolas Ferre <nicolas.ferre@atmel.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/cadence/macb.c