Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1757481Ab1DHWBj (ORCPT ); Fri, 8 Apr 2011 18:01:39 -0400 Received: from kroah.org ([198.145.64.141]:44293 "EHLO coco.kroah.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752739Ab1DHWBi (ORCPT ); Fri, 8 Apr 2011 18:01:38 -0400 Date: Fri, 8 Apr 2011 15:01:57 -0700 From: Greg KH To: =?utf-8?B?UmFmYcWCIE1pxYJlY2tp?= Cc: linux-wireless@vger.kernel.org, "John W. Linville" , George Kashperko , Arnd Bergmann , Russell King , "linux-kernel@vger.kernel.org" , b43-dev@lists.infradead.org, Michael =?iso-8859-1?Q?B=FCsch?= , linuxdriverproject , "linux-arm-kernel@lists.infradead.org" , Larry Finger Subject: Re: [RFC][WAS:bcmai][PATCH V2] axi: add AXI bus driver Message-ID: <20110408220157.GC26019@kroah.com> References: <1302291900-1902-1-git-send-email-zajec5@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <1302291900-1902-1-git-send-email-zajec5@gmail.com> User-Agent: Mutt/1.5.21 (2010-09-15) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1694 Lines: 50 On Fri, Apr 08, 2011 at 09:45:00PM +0200, Rafał Miłecki wrote: > Cc: Michael Büsch > Cc: Larry Finger > Cc: George Kashperko > Cc: Arend van Spriel > Cc: linux-arm-kernel@lists.infradead.org > Cc: Russell King > Cc: Arnd Bergmann > Cc: linuxdriverproject > Cc: linux-kernel@vger.kernel.org > Signed-off-by: Rafał Miłecki > --- > This is second try for introducing new bus driver. > V2: Rename to axi > Use DEFINE_PCI_DEVICE_TABLE in bridge > Make use of pr_fmt and pr_* > Store core class > Rename bridge to not b43 specific > Replace magic 0x1000 with BCMAI_CORE_SIZE > Remove some old "ssb" names and defines > Move BCMAI_ADDR_BASE def > Add drvdata field > TODO: > - Interrupts > - Reloading driver Please add to the TODO list: - Documentation/ABI entries for new sysfs files - proper Kconfig entry documentation for the different options - remove unneeded pcicore_write* wrapper functions that do nothing. > +static void axi_release_core_dev(struct device *dev) > +{ > + kfree(dev); > +} This is wrong, unless you are really only creating a 'struct device'. Why are you doing that instead of embedding struct device in your structure? thanks, greg k-h -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/