From mboxrd@z Thu Jan 1 00:00:00 1970 From: shawn.guo@linaro.org (Shawn Guo) Date: Fri, 18 Jan 2013 15:33:51 +0800 Subject: [PATCH] ARM: remove unnecessary 'select GENERIC_GPIO' In-Reply-To: <20130117141810.GC29285@S2101-09.ap.freescale.net> References: <1358255616-3171-1-git-send-email-shawn.guo@linaro.org> <20130117141810.GC29285@S2101-09.ap.freescale.net> Message-ID: <20130118073346.GA8273@S2101-09.ap.freescale.net> To: linux-arm-kernel@lists.infradead.org List-Id: linux-arm-kernel.lists.infradead.org On Thu, Jan 17, 2013 at 10:18:13PM +0800, Shawn Guo wrote: > On Thu, Jan 17, 2013 at 02:36:00PM +0100, Linus Walleij wrote: > > On Tue, Jan 15, 2013 at 2:13 PM, Shawn Guo wrote: > > > > > The only use of GENERIC_GPIO (defined by architecture) in GPIO subsystem > > > is being selected by GPIOLIB. Also there are no any use of the option > > > at architecture level. Only two sub-architectures shmobile and orion > > > really use the option as below. > > > > > > arch/arm/mach-shmobile/Makefile:obj-$(CONFIG_GENERIC_GPIO) += $(pfc-y) > > > arch/arm/plat-orion/Makefile:orion-gpio-$(CONFIG_GENERIC_GPIO) += gpio.o > > > > > > Remove all those unnecessary sub-architecture level selection of > > > GENERIC_GPIO, which are there only for confusing people. > > > > > > Signed-off-by: Shawn Guo > > > > Acked-by: Linus Walleij > > > Thanks, Linus. > > Arnd, Olof, > > Can you please take a look at the patch, and apply it as a cleanup > if it looks good to you? > The commit log does not look quite good. Will resend the patch with a better commit log. Shawn