]> git.baikalelectronics.ru Git - kernel.git/commit
mwifiex: Introduce mwifiex_probe_of() to parse common properties
authorRajat Jain <rajatja@google.com>
Tue, 15 Nov 2016 13:36:03 +0000 (19:06 +0530)
committerKalle Valo <kvalo@codeaurora.org>
Sat, 19 Nov 2016 07:13:11 +0000 (09:13 +0200)
commit09e945f48b3a727167c473eb3672bf4f07f4f765
treee5ddf80f530ae863389f35f1c0a7a83ee75ff286
parentf95fa271f95d84757bd1218da1dbfc6c478fad5d
mwifiex: Introduce mwifiex_probe_of() to parse common properties

Introduce function mwifiex_probe_of() to parse common properties.
Interface drivers get to decide whether or not the device tree node
was a valid one (depending on the compatible property),
Lets fill "adapter->dt_node" in mwifiex_add_card().

The function mwifiex_probe_of() is currently only a place holder with
the next patch adding content to it.

Signed-off-by: Rajat Jain <rajatja@google.com>
Signed-off-by: Amitkumar Karwar <akarwar@marvell.com>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
drivers/net/wireless/marvell/mwifiex/main.c
drivers/net/wireless/marvell/mwifiex/sta_cmd.c