wireless: wlcore: use dev_get_platdata()
authorJingoo Han <jg1.han@samsung.com>
Tue, 10 Sep 2013 08:57:57 +0000 (17:57 +0900)
committerJohn W. Linville <linville@tuxdriver.com>
Thu, 26 Sep 2013 19:13:40 +0000 (15:13 -0400)
commit90650625dba2852bcf91d5edf472a79e9e333ab7
tree4a1088b7a36689d453776e64851b176cd17eb147
parent5f4fe16bac118ed9e88fdf14380e1c1345376a7d
wireless: wlcore: 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/ti/wlcore/main.c
drivers/net/wireless/ti/wlcore/spi.c