Return-path: Received: from mail-gx0-f174.google.com ([209.85.161.174]:52727 "EHLO mail-gx0-f174.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752862Ab0GIJYI (ORCPT ); Fri, 9 Jul 2010 05:24:08 -0400 MIME-Version: 1.0 In-Reply-To: References: <1278376666-3509-1-git-send-email-ohad@wizery.com> <1278376666-3509-12-git-send-email-ohad@wizery.com> <4C32EF19.1000604@nokia.com> <4C3306F4.8060907@nokia.com> <4C333E0D.2070601@nokia.com> <4C36DA04.3090209@nokia.com> Date: Fri, 9 Jul 2010 12:24:06 +0300 Message-ID: Subject: Re: [PATCH 11/15] wireless: wl1271: introduce platform device support From: Grazvydas Ignotas To: Ohad Ben-Cohen Cc: Roger Quadros , Nicolas Pitre , "linux-wireless@vger.kernel.org" , "linux-mmc@vger.kernel.org" , "linux-omap@vger.kernel.org" , "linux-arm-kernel@lists.infradead.org" , "linux@arm.linux.org.uk" , Chikkature Rajashekar Madhusudhan , "Coelho Luciano (Nokia-MS/Helsinki)" , "akpm@linux-foundation.org" , San Mehat Content-Type: text/plain; charset=ISO-8859-1 Sender: linux-wireless-owner@vger.kernel.org List-ID: On Fri, Jul 9, 2010 at 11:32 AM, Ohad Ben-Cohen wrote: > Hi Roger, > > On Fri, Jul 9, 2010 at 11:12 AM, Roger Quadros wrote: >> You are already >> creating a new platform device for wl1271_sdio just to pass platform_data > > With the new approach, I can remove this platform device altogether, > and completely rely on the sdio function device for driver probing (as > it was before). I just need to add this little support of delivering > small bits of platform data - the mechanism should be simple and > generic, and would considerably simplify the driver. > >> I think this case is specific to wl1271. > > Yes, it is. wl1251 also has this issue. In fact it's even worse there as it's missing all SDIO registers and cannot be probed at all.. Those devices are not plug n play at all.