Skip to contentSkip to conversation

drivers: gpio: put virtual gpio device into their own submenu

PATCH In review Enrico Weigelt, metux IT consult 3 participants 4 messages Dec 7, 2020 – Dec 8, 2020 GPIO

lore
Share & tools
lore
#0 lore raw

PATCH v3 1/1 drivers: gpio: put virtual gpio device into their own submenu

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

---
 drivers/gpio/Kconfig | 4 ++++
 1 file changed, 4 insertions(+)
drivers/gpio/Kconfig +4 -0
index 5d4de5cd6759..8596f9320971 100644
@@ -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
Signature · 1 line
2.11.0
#1 lore raw
Quoted 6 lines · metux IT consult

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.

Quoted 27 lines
---
 drivers/gpio/Kconfig | 4 ++++
 1 file changed, 4 insertions(+)
drivers/gpio/Kconfig +4 -1
index 5d4de5cd6759..8596f9320971 100644
@@ -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
--
Quoted 2 lines

2.11.0

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

Bartosz

#2 lore raw
Quoted 11 lines · Bartosz Golaszewski
Quoted 6 lines · metux IT consult

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

Signature · 8 lines
---
Hinweis: unverschlüsselte E-Mails können leicht abgehört und manipuliert
werden ! Für eine vertrauliche Kommunikation senden Sie bitte ihren
GPG/PGP-Schlüssel zu.
---
Enrico Weigelt, metux IT consult
Free software and Linux embedded engineering
[email protected] -- +49-151-27565287
#3 lore raw
Quoted 8 lines · metux IT consult
Quoted 6 lines · Bartosz Golaszewski
Quoted 4 lines · metux IT consult

Since we already have a few virtual GPIO drivers, and more to come, this category deserves its own submenu.

Quoted 9 lines
Quoted 5 lines
Quoted 2 lines

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