Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1757350Ab1CaL1O (ORCPT ); Thu, 31 Mar 2011 07:27:14 -0400 Received: from na3sys009aog103.obsmtp.com ([74.125.149.71]:40941 "EHLO na3sys009aog103.obsmtp.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751881Ab1CaL1M (ORCPT ); Thu, 31 Mar 2011 07:27:12 -0400 Date: Thu, 31 Mar 2011 14:27:06 +0300 From: Felipe Balbi To: Linus Torvalds Cc: Bill Gatliff , Russell King - ARM Linux , Arnd Bergmann , Tony Lindgren , David Brown , linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-omap@vger.kernel.org, Nicolas Pitre , Catalin Marinas Subject: Re: [GIT PULL] omap changes for v2.6.39 merge window Message-ID: <20110331112706.GJ2267@legolas.emea.dhcp.ti.com> Reply-To: balbi@ti.com References: <201103301906.42429.arnd@arndb.de> <20110331001502.GB6680@n2100.arm.linux.org.uk> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.20 (2009-06-14) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 980 Lines: 28 Hi, On Wed, Mar 30, 2011 at 08:24:30PM -0700, Linus Torvalds wrote: > So let's take a really simple example of this kind of crap. > > Do this: > > git ls-files arch/arm/ | grep gpio > > and cry. That's 145 files in the arm directory that are some kind of > crazy gpio support. Most likely those are remanescent from times when we didn't have gpiolib. It's not long ago (about 2 years) that David Brownell (rip, my friend) introduced it to the kernel. So those should be converted to gpiolib and moved to drivers/gpio/ but it doesn't mean we don't need that piece of code. With different register layout, register offsets, register sizes, etc, it would be way uglier to combine all those into one big hacky driver. -- balbi -- 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/