Amitkumar Karwar <akarwar@xxxxxxxxxxx> wrote: > From: Rajat Jain <rajatja@xxxxxxxxxx> > > Today all the interface drivers (usb/pcie/sdio) assign the > adapter->dev in the register_dev() callback, although they > have this piece of info well before hand. > > This patch makes the device structure available for mwifiex > right at the beginning, so that it can be used for early > initialization if needed. > > This is needed for subsequent patches in this patchset that > intend to unify and consolidate some of the code that would > otherwise have to be duplicated among the interface drivers > (sdio, pcie, usb). > > Signed-off-by: Rajat Jain <rajatja@xxxxxxxxxx> > Signed-off-by: Amitkumar Karwar <akarwar@xxxxxxxxxxx> This patchset doesn't apply: Repository lacks necessary blobs to fall back on 3-way merge. Cannot fall back to three-way merge. Patch failed at 0001 mwifiex: Introduce mwifiex_probe_of() to parse common properties I guess it depends on this patch which is still under review: mwifiex: parse device tree node for PCIe -- https://patchwork.kernel.org/patch/9429835/ Documentation about submitting wireless patches and checking status from patchwork: https://wireless.wiki.kernel.org/en/developers/documentation/submittingpatches