wireless: libertas: use dev_get_platdata()
authorJingoo Han <jg1.han@samsung.com>
Tue, 10 Sep 2013 08:56:27 +0000 (17:56 +0900)
committerJohn W. Linville <linville@tuxdriver.com>
Thu, 26 Sep 2013 19:13:39 +0000 (15:13 -0400)
commit7204c978278797356e5142fc5d749f360d787e01
treeca5c5bffd3ccc67c2e70d3738ef32e94a6f8dc58
parent3ec8a8d88f762c78caa2d364c111089db81717be
wireless: libertas: 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: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/libertas/if_spi.c