From mboxrd@z Thu Jan 1 00:00:00 1970 Return-path: Received: from smtp.codeaurora.org ([198.145.29.96]:45788 "EHLO smtp.codeaurora.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751152AbcKSHNp (ORCPT ); Sat, 19 Nov 2016 02:13:45 -0500 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Subject: Re: [v4,1/3] mwifiex: Allow mwifiex early access to device structure From: Kalle Valo In-Reply-To: <1479216964-3328-1-git-send-email-akarwar@marvell.com> References: <1479216964-3328-1-git-send-email-akarwar@marvell.com> To: Amitkumar Karwar Cc: , Cathy Luo , Nishant Sarmukadam , , , , Amitkumar Karwar Message-Id: <20161119071344.B5A89614C2@smtp.codeaurora.org> (sfid-20161119_081358_231202_50FA290F) Date: Sat, 19 Nov 2016 07:13:44 +0000 (UTC) Sender: linux-wireless-owner@vger.kernel.org List-ID: Amitkumar Karwar wrote: > From: Rajat Jain > > 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 > Signed-off-by: Amitkumar Karwar 3 patches applied to wireless-drivers-next.git, thanks. 2e02b5814217 mwifiex: Allow mwifiex early access to device structure 5e28e5fbdcf0 mwifiex: Introduce mwifiex_probe_of() to parse common properties 853402a00823 mwifiex: Enable WoWLAN for both sdio and 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