]> git.baikalelectronics.ru Git - kernel.git/commit
wireless: wl12xx: use dev_get_platdata()
authorJingoo Han <jg1.han@samsung.com>
Tue, 10 Sep 2013 08:58:32 +0000 (17:58 +0900)
committerJohn W. Linville <linville@tuxdriver.com>
Thu, 26 Sep 2013 19:13:41 +0000 (15:13 -0400)
commit9821f4c6c14787848801d2dbf199e20f77435a81
treec21c92b67bb098180f3a445be4b5ce5e59fa5ead
parentb77e1de86f45e38e7bb01baa39304c7ff62cd8f1
wireless: wl12xx: 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/wl12xx/main.c