]> git.openfabrics.org - ~emulex/infiniband.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)
commite19eac0ec5a77fd53cd909a25435f7f6ac81d622
tree64693591072c51bc175ed5fb79a17e9132b1d78f
parentbbfa6d0aa501ee7fd476a7bb8e0045b3851295df
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