diff mbox series

[v3] drivers: gpio: put virtual gpio device into their own submenu

Message ID 20201207203816.18269-1-info@metux.net
State New
Headers show
Series [v3] drivers: gpio: put virtual gpio device into their own submenu | expand

Commit Message

Enrico Weigelt, metux IT consult Dec. 7, 2020, 8:38 p.m. UTC
Since we already have a few virtual GPIO drivers, and more to come,
this category deserves its own submenu.

changes v2: fixed menu title (replaced "devices" by "drivers")
changes v3: added patch changelog

Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
---
 drivers/gpio/Kconfig | 4 ++++
 1 file changed, 4 insertions(+)

Comments

Bartosz Golaszewski Dec. 8, 2020, 9:15 a.m. UTC | #1
On Mon, Dec 7, 2020 at 9:38 PM Enrico Weigelt, metux IT consult
<info@metux.net> wrote:
>
> Since we already have a few virtual GPIO drivers, and more to come,
> this category deserves its own submenu.
>
> changes v2: fixed menu title (replaced "devices" by "drivers")
> changes v3: added patch changelog

This should be below the --- under all tags because we don't want this
in the actual log that goes into git.

>
> Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
> ---
>  drivers/gpio/Kconfig | 4 ++++
>  1 file changed, 4 insertions(+)
>
> diff --git a/drivers/gpio/Kconfig b/drivers/gpio/Kconfig
> index 5d4de5cd6759..8596f9320971 100644
> --- a/drivers/gpio/Kconfig
> +++ b/drivers/gpio/Kconfig
> @@ -1590,6 +1590,8 @@ config GPIO_VIPERBOARD
>
>  endmenu
>
> +menu "Virtual GPIO drivers"
> +
>  config GPIO_AGGREGATOR
>         tristate "GPIO Aggregator"
>         help
> @@ -1613,4 +1615,6 @@ config GPIO_MOCKUP
>           tools/testing/selftests/gpio/gpio-mockup.sh. Reference the usage in
>           it.
>
> +endmenu
> +
>  endif
> --
> 2.11.0
>

I fixed up the above and applied the patch, thanks!

Bartosz
Enrico Weigelt, metux IT consult Dec. 8, 2020, 9:40 a.m. UTC | #2
On 08.12.20 10:15, Bartosz Golaszewski wrote:
> On Mon, Dec 7, 2020 at 9:38 PM Enrico Weigelt, metux IT consult
> <info@metux.net> wrote:
>>
>> Since we already have a few virtual GPIO drivers, and more to come,
>> this category deserves its own submenu.
>>
>> changes v2: fixed menu title (replaced "devices" by "drivers")
>> changes v3: added patch changelog
> 
> This should be below the --- under all tags because we don't want this
> in the actual log that goes into git.


Sorry, wasn't aware of that. Does git-am automatically cut it off ?


--mtx
Bartosz Golaszewski Dec. 8, 2020, 9:50 a.m. UTC | #3
On Tue, Dec 8, 2020 at 10:40 AM Enrico Weigelt, metux IT consult
<lkml@metux.net> wrote:
>
> On 08.12.20 10:15, Bartosz Golaszewski wrote:
> > On Mon, Dec 7, 2020 at 9:38 PM Enrico Weigelt, metux IT consult
> > <info@metux.net> wrote:
> >>
> >> Since we already have a few virtual GPIO drivers, and more to come,
> >> this category deserves its own submenu.
> >>
> >> changes v2: fixed menu title (replaced "devices" by "drivers")
> >> changes v3: added patch changelog
> >
> > This should be below the --- under all tags because we don't want this
> > in the actual log that goes into git.
>
>
> Sorry, wasn't aware of that. Does git-am automatically cut it off ?
>

Yes, everything between the --- and the actual diff is dropped.

Bartosz
diff mbox series

Patch

diff --git a/drivers/gpio/Kconfig b/drivers/gpio/Kconfig
index 5d4de5cd6759..8596f9320971 100644
--- a/drivers/gpio/Kconfig
+++ b/drivers/gpio/Kconfig
@@ -1590,6 +1590,8 @@  config GPIO_VIPERBOARD
 
 endmenu
 
+menu "Virtual GPIO drivers"
+
 config GPIO_AGGREGATOR
 	tristate "GPIO Aggregator"
 	help
@@ -1613,4 +1615,6 @@  config GPIO_MOCKUP
 	  tools/testing/selftests/gpio/gpio-mockup.sh. Reference the usage in
 	  it.
 
+endmenu
+
 endif