]> git.baikalelectronics.ru Git - kernel.git/commit
net: pxa168_eth: use dev_get_platdata()
authorJingoo Han <jg1.han@samsung.com>
Fri, 30 Aug 2013 04:58:00 +0000 (13:58 +0900)
committerDavid S. Miller <davem@davemloft.net>
Fri, 30 Aug 2013 21:43:36 +0000 (17:43 -0400)
commit5281dd0c0162ee1643a386cb9b2e6cab18756f3d
tree64693591072c51bc175ed5fb79a17e9132b1d78f
parentab1b0b46fa0131c6d5914e673ea2fd9820b3e57c
net: pxa168_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/pxa168_eth.c