]> git.baikalelectronics.ru Git - kernel.git/commit
net: at91_ether: use dev_get_platdata()
authorJingoo Han <jg1.han@samsung.com>
Fri, 30 Aug 2013 05:11:53 +0000 (14:11 +0900)
committerDavid S. Miller <davem@davemloft.net>
Fri, 30 Aug 2013 21:43:39 +0000 (17:43 -0400)
commit87921856be8f2666f4ca5aae28957d13718102fc
tree729087bcaa58f54c6a5e733dce84095903257fa5
parent9407f72ece2cd7b168cb6f489bccb7418fc8e814
net: at91_ether: 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>
Acked-by: Nicolas Ferre <nicolas.ferre@atmel.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/cadence/at91_ether.c