]> git.baikalelectronics.ru Git - kernel.git/commit
net: ethoc: use dev_get_platdata()
authorJingoo Han <jg1.han@samsung.com>
Fri, 30 Aug 2013 04:55:46 +0000 (13:55 +0900)
committerDavid S. Miller <davem@davemloft.net>
Fri, 30 Aug 2013 21:43:35 +0000 (17:43 -0400)
commitfc8cf067bc33233610a6b8fa7a371fab6fd13569
treef105563eb6df224ec51e1129d1014d36810344a9
parent2716be853e1cd3ea3fcda468f8cebd8e093977b7
net: ethoc: 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/ethoc.c