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)
commit5e28e5fbdcf03907abea24b1bdc387333cebee38
treee5ddf80f530ae863389f35f1c0a7a83ee75ff286
parent2e02b5814217b734fed1054aac4d1e256acbe6a9
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