diff mbox series

gpio: mockup: don't depend twice on GPIOLIB

Message ID 20190725131002.14597-1-uwe@kleine-koenig.org
State New
Headers show
Series gpio: mockup: don't depend twice on GPIOLIB | expand

Commit Message

Uwe Kleine-König July 25, 2019, 1:10 p.m. UTC
config GPIO_MOCKUP is defined in a big if GPIOLIB ... endif block so it
doesn't need to depend explicitly on GPIOLIB.

Signed-off-by: Uwe Kleine-König <uwe@kleine-koenig.org>
---
 drivers/gpio/Kconfig | 1 -
 1 file changed, 1 deletion(-)

Comments

Uwe Kleine-König Aug. 14, 2019, 8:12 p.m. UTC | #1
On 7/25/19 3:10 PM, Uwe Kleine-König wrote:
> config GPIO_MOCKUP is defined in a big if GPIOLIB ... endif block so it
> doesn't need to depend explicitly on GPIOLIB.
> 
> Signed-off-by: Uwe Kleine-König <uwe@kleine-koenig.org>
> ---
>  drivers/gpio/Kconfig | 1 -
>  1 file changed, 1 deletion(-)
> 
> diff --git a/drivers/gpio/Kconfig b/drivers/gpio/Kconfig
> index bb13c266c329..856fcd260ba2 100644
> --- a/drivers/gpio/Kconfig
> +++ b/drivers/gpio/Kconfig
> @@ -1465,7 +1465,6 @@ endmenu
>  
>  config GPIO_MOCKUP
>  	tristate "GPIO Testing Driver"
> -	depends on GPIOLIB
>  	select IRQ_SIM
>  	help
>  	  This enables GPIO Testing driver, which provides a way to test GPIO
> 

I didn't get feedback for this patch. Did it fall through the cracks?

Best regards
Uwe
Linus Walleij Aug. 15, 2019, 8:15 a.m. UTC | #2
On Wed, Aug 14, 2019 at 10:12 PM Uwe Kleine-König <uwe@kleine-koenig.org> wrote:
> On 7/25/19 3:10 PM, Uwe Kleine-König wrote:
> > config GPIO_MOCKUP is defined in a big if GPIOLIB ... endif block so it
> > doesn't need to depend explicitly on GPIOLIB.
> >
> > Signed-off-by: Uwe Kleine-König <uwe@kleine-koenig.org>
> > ---
> >  drivers/gpio/Kconfig | 1 -
> >  1 file changed, 1 deletion(-)
> >
> > diff --git a/drivers/gpio/Kconfig b/drivers/gpio/Kconfig
> > index bb13c266c329..856fcd260ba2 100644
> > --- a/drivers/gpio/Kconfig
> > +++ b/drivers/gpio/Kconfig
> > @@ -1465,7 +1465,6 @@ endmenu
> >
> >  config GPIO_MOCKUP
> >       tristate "GPIO Testing Driver"
> > -     depends on GPIOLIB
> >       select IRQ_SIM
> >       help
> >         This enables GPIO Testing driver, which provides a way to test GPIO
> >
>
> I didn't get feedback for this patch. Did it fall through the cracks?

Weird, the patch is not in my inbox :(

I downloaded from lore.kernel.org and applied, thanks!

Yours,
Linus Walleij

Yours,
Linus Walleij
Uwe Kleine-König Aug. 19, 2019, 5:49 a.m. UTC | #3
Hello Linus,

On 8/15/19 10:15 AM, Linus Walleij wrote:
> On Wed, Aug 14, 2019 at 10:12 PM Uwe Kleine-König <uwe@kleine-koenig.org> wrote:
>> On 7/25/19 3:10 PM, Uwe Kleine-König wrote:
>>> config GPIO_MOCKUP is defined in a big if GPIOLIB ... endif block so it
>>> doesn't need to depend explicitly on GPIOLIB.
>>>
>>> Signed-off-by: Uwe Kleine-König <uwe@kleine-koenig.org>
>>> ---
>>>  drivers/gpio/Kconfig | 1 -
>>>  1 file changed, 1 deletion(-)
>>>
>>> diff --git a/drivers/gpio/Kconfig b/drivers/gpio/Kconfig
>>> index bb13c266c329..856fcd260ba2 100644
>>> --- a/drivers/gpio/Kconfig
>>> +++ b/drivers/gpio/Kconfig
>>> @@ -1465,7 +1465,6 @@ endmenu
>>>
>>>  config GPIO_MOCKUP
>>>       tristate "GPIO Testing Driver"
>>> -     depends on GPIOLIB
>>>       select IRQ_SIM
>>>       help
>>>         This enables GPIO Testing driver, which provides a way to test GPIO
>>>
>>
>> I didn't get feedback for this patch. Did it fall through the cracks?
> 
> Weird, the patch is not in my inbox :(
> 
> I downloaded from lore.kernel.org and applied, thanks!

Thanks for that. Though I'm not entirely happy with that as this
procedure messed up my name in my S-o-b. Would you mind to fix that?

Best regards
Uwe
Linus Walleij Aug. 20, 2019, 8:42 a.m. UTC | #4
On Mon, Aug 19, 2019 at 7:49 AM Uwe Kleine-König <uwe@kleine-koenig.org> wrote:
> On 8/15/19 10:15 AM, Linus Walleij wrote:

> > I downloaded from lore.kernel.org and applied, thanks!
>
> Thanks for that. Though I'm not entirely happy with that as this
> procedure messed up my name in my S-o-b. Would you mind to fix that?

Grrr lore.kernel.org can't be trusted to handle UTF-8 right...

OK fixed it by hand, thanks for pointing it out.

Yours,
Linus Walleij
diff mbox series

Patch

diff --git a/drivers/gpio/Kconfig b/drivers/gpio/Kconfig
index bb13c266c329..856fcd260ba2 100644
--- a/drivers/gpio/Kconfig
+++ b/drivers/gpio/Kconfig
@@ -1465,7 +1465,6 @@  endmenu
 
 config GPIO_MOCKUP
 	tristate "GPIO Testing Driver"
-	depends on GPIOLIB
 	select IRQ_SIM
 	help
 	  This enables GPIO Testing driver, which provides a way to test GPIO