]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
net: mv643xx_eth: use dev_get_platdata()
authorJingoo Han <jg1.han@samsung.com>
Fri, 30 Aug 2013 04:57:13 +0000 (13:57 +0900)
committerDavid S. Miller <davem@davemloft.net>
Fri, 30 Aug 2013 21:43:36 +0000 (17:43 -0400)
commitbbfa6d0aa501ee7fd476a7bb8e0045b3851295df
tree88a8646c25ed0815d6fa42e3a94f1f16d9bb7c13
parent94660ba09079dd8a4527cb26b6c76724394f0460
net: mv643xx_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/marvell/mv643xx_eth.c