]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commite64085bd57631c7d1f3673a781b6eccc0fd0651b
treeca5c5bffd3ccc67c2e70d3738ef32e94a6f8dc58
parenta60201591aa07acb9144ac62f861747899b57900
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