gpio: fold the Kconfig prompt into the option type for GPIO CDEV
PATCH 1/1 gpio: fold the Kconfig prompt into the option type for GPIO CDEV
From: Bartosz Golaszewski <[email protected]>
The 'if !EXPERT' bit will work fine if it follows the 'bool "foobar"' declaration. No need to have separate entries for it.
Signed-off-by Bartosz Golaszewski <[email protected]>
--- drivers/gpio/Kconfig | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-)
drivers/gpio/Kconfig +1 -2
@@ -70,8 +70,7 @@ config GPIO_SYSFS ioctl() operations instead. config GPIO_CDEV - bool - prompt "Character device (/dev/gpiochipN) support" if EXPERT + bool "Character device (/dev/gpiochipN) support" if EXPERT default y help Say Y here to add the character device /dev/gpiochipN interface
Signature · 1 line
2.43.0
Quoted 3 lines · Bartosz Golaszewski
From: Bartosz Golaszewski <[email protected]>
The 'if !EXPERT' bit will work fine if it follows the 'bool "foobar"'
Nit: if EXPERT
No negation.
Quoted 3 lines
declaration. No need to have separate entries for it.
Signed-off-by Bartosz Golaszewski <[email protected]>
Reviewed-by Linus Walleij <[email protected]>
Yours,
Linus Walleij
Bartosz Golaszewski
AppliedFrom: Bartosz Golaszewski <[email protected]>
Quoted 4 lines · Bartosz Golaszewski
The 'if !EXPERT' bit will work fine if it follows the 'bool "foobar"' declaration. No need to have separate entries for it.
Applied, thanks!
[1/1] gpio: fold the Kconfig prompt into the option type for GPIO CDEV
commit: 3dcf0643fa5cd65e667057cfa11d6e54ac36f2ff
Best regards,
Signature · 1 line
Bartosz Golaszewski <[email protected]>