]> git.baikalelectronics.ru Git - kernel.git/commit
net: netx-eth: use dev_get_platdata()
authorJingoo Han <jg1.han@samsung.com>
Fri, 30 Aug 2013 04:59:34 +0000 (13:59 +0900)
committerDavid S. Miller <davem@davemloft.net>
Fri, 30 Aug 2013 21:43:36 +0000 (17:43 -0400)
commit9644211a26a1e4b542fa5fe63f5cdfeeb54d45b0
tree4d95612a7db4514d92285f2dd126cc3ea9c01498
parent4976a713e45fb26fa1afff4e4caa6fa108bb54ba
net: netx-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/netx-eth.c