net: ks8851-ml: use dev_get_platdata()
authorJingoo Han <jg1.han@samsung.com>
Fri, 30 Aug 2013 04:59:01 +0000 (13:59 +0900)
committerDavid S. Miller <davem@davemloft.net>
Fri, 30 Aug 2013 21:43:36 +0000 (17:43 -0400)
commitee9466124b9aced68c4e90bf8fe77fabd6fb5dd3
tree810f2bb3e7a4b8ffd5aa0e461e98d7fc252f6338
parent0dd14b670e873dc8c19821aca1d2a737c86c6bc7
net: ks8851-ml: 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/micrel/ks8851_mll.c