Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932569Ab3CLKoA (ORCPT ); Tue, 12 Mar 2013 06:44:00 -0400 Received: from hqemgate03.nvidia.com ([216.228.121.140]:16237 "EHLO hqemgate03.nvidia.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755314Ab3CLKn6 (ORCPT ); Tue, 12 Mar 2013 06:43:58 -0400 X-PGP-Universal: processed; by hqnvupgp07.nvidia.com on Tue, 12 Mar 2013 03:43:51 -0700 Message-ID: <513F06DF.3040105@nvidia.com> Date: Tue, 12 Mar 2013 19:43:43 +0900 From: Alex Courbot Organization: NVIDIA User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/20130221 Thunderbird/17.0.3 MIME-Version: 1.0 To: Paul Mundt CC: Grant Likely , Linus Walleij , Arnd Bergmann , Russell King , Haavard Skinnemoen , Hans-Christian Egtvedt , Mike Frysinger , Geert Uytterhoeven , Ralf Baechle , Jonas Bonn , Josh Boyer , Matt Porter , Benjamin Herrenschmidt , Paul Mackerras , Kumar Gala , Vitaly Bordug , Marcelo Tosatti , Guan Xuetao , Chris Zankel , Max Filippov , Alexandre Courbot , "linux-kernel@vger.kernel.org" Subject: Re: [RFC 09/17] sh: replace CONFIG_GENERIC_GPIO by CONFIG_GPIOLIB References: <1363083150-30964-1-git-send-email-acourbot@nvidia.com> <1363083150-30964-10-git-send-email-acourbot@nvidia.com> <20130312103515.GD3553@linux-sh.org> In-Reply-To: <20130312103515.GD3553@linux-sh.org> Content-Type: text/plain; charset="ISO-8859-1"; format=flowed Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1214 Lines: 26 On 03/12/2013 07:35 PM, Paul Mundt wrote: > On Tue, Mar 12, 2013 at 07:12:22PM +0900, Alexandre Courbot wrote: >> SH GPIO drivers all use gpiolib and CONFIG_GENERIC_GPIO is only selected >> through CONFIG_GPIOLIB, yet some compilation units depended on >> CONFIG_GENERIC_GPIO. Make them depend on CONFIG_GPIOLIB instead since it >> is more accurate and prepares us for the future removal of >> CONFIG_GENERIC_GPIO. >> >> Signed-off-by: Alexandre Courbot > > Note that the bulk of the GENERIC_GPIO use for SH has shifted to > drivers/pinctrl/sh-pfc/. If GPIOLIB is forced then a good chunk of the > Kconfig/Makefile bits there ought to be refactored too. Yes, that is the case for many other drivers actually. This series just makes sure that GENERIC_GPIO is set through GPIOLIB *only*, thus making both options equivalent. If nobody shoots me for this, I will refactor individual drivers and ultimately remove GENERIC_GPIO completely. Alex. -- 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/