]> git.baikalelectronics.ru Git - kernel.git/commit
net: ep93xx_eth: use dev_get_platdata()
authorJingoo Han <jg1.han@samsung.com>
Fri, 30 Aug 2013 04:54:37 +0000 (13:54 +0900)
committerDavid S. Miller <davem@davemloft.net>
Fri, 30 Aug 2013 21:43:35 +0000 (17:43 -0400)
commit4f0a2c4ba74fb0f9469d197d1d39d45c5a2305dd
treebdd4efedcd5c5e4ef535e83b50d8d0b3d2ca988e
parentcfd1040f03bd6ddbf0310e8b3be1420b5619d6e9
net: ep93xx_eth: 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/cirrus/ep93xx_eth.c