]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
net: w5300: use dev_get_platdata()
authorJingoo Han <jg1.han@samsung.com>
Fri, 30 Aug 2013 05:07:06 +0000 (14:07 +0900)
committerDavid S. Miller <davem@davemloft.net>
Fri, 30 Aug 2013 21:43:38 +0000 (17:43 -0400)
commit59f92f49705eb28c44945f42378c2422119a8b57
treec98045597db322d1c10a2e7c21046d309e6fc60a
parent3ae603c40d224fa6a30535b9eaad29a9675ac4c9
net: w5300: 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/wiznet/w5300.c