lkml.org 
[lkml]   [2013]   [Mar]   [12]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [RFC 09/17] sh: replace CONFIG_GENERIC_GPIO by CONFIG_GPIOLIB
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 <acourbot@nvidia.com>
>
> 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.



\
 
 \ /
  Last update: 2013-03-12 12:21    [W:0.173 / U:0.892 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site