]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit9e953965d268399cf92500595a26f033fcf63422
tree4a1088b7a36689d453776e64851b176cd17eb147
parent8af00336370eb6ae9b63e3e1081c438956b72fe4
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