Re: [PATCH v2 1/2] drivers: gpio: put virtual gpio device into their own submenu

From: Bartosz Golaszewski
Date: Mon Dec 07 2020 - 05:32:08 EST


On Thu, Dec 3, 2020 at 8:11 PM Enrico Weigelt, metux IT consult
<info@xxxxxxxxx> wrote:
>
> Since we already have a few virtual gpio devices, and more to come,
> this category deserves its own submenu.
>
> Signed-off-by: Enrico Weigelt, metux IT consult <info@xxxxxxxxx>
> ---
> drivers/gpio/Kconfig | 4 ++++
> 1 file changed, 4 insertions(+)
>
> diff --git a/drivers/gpio/Kconfig b/drivers/gpio/Kconfig
> index 5d4de5cd6759..01619eb58396 100644
> --- a/drivers/gpio/Kconfig
> +++ b/drivers/gpio/Kconfig
> @@ -1590,6 +1590,8 @@ config GPIO_VIPERBOARD
>
> endmenu
>
> +menu "Virtual GPIO devices"
> +
> 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'd call this section "Virtual GPIO drivers" because the code contains
drivers not devices.

Bartosz