bus: ts-nbus: drop unneeded dependency on OF_GPIO
PATCH v3 1/1 bus: ts-nbus: drop unneeded dependency on OF_GPIO
OF_GPIO is selected automatically on all OF systems. Any symbols it controls also provide stubs and are private to GPIOLIB anyway so there's really no reason to select it explicitly.
---
Changes in v3:
- Send the bus patch separately so that it can be picked up for v7.2
- Link to v2: https://patch.msgid.link/[email protected]
Changes in v2:
- Make gpio-watchdog depend on OF && GPIOLIB
- Drop picked up patches
- Link to v1: https://patch.msgid.link/[email protected]
drivers/bus/Kconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/bus/Kconfig +1 -1
@@ -216,7 +216,7 @@ config TI_SYSC config TS_NBUS tristate "Technologic Systems NBUS Driver" depends on SOC_IMX28 - depends on OF_GPIO && PWM + depends on PWM help Driver for the Technologic Systems NBUS which is used to interface with the peripherals in the FPGA of the TS-4600 SoM.
Signature · 1 line
2.47.3
Quoted 3 lines · Bartosz Golaszewski
OF_GPIOis selected automatically on all OF systems. Any symbols it controls also provide stubs and are private to GPIOLIB anyway so there's really no reason to select it explicitly.
Is the plan to hide it from the user eventually?
Signature · 2 lines
With Best Regards, Andy Shevchenko
Quoted 8 lines · Andy Shevchenko
Quoted 3 lines · Bartosz Golaszewski
OF_GPIOis selected automatically on all OF systems. Any symbols it controls also provide stubs and are private to GPIOLIB anyway so there's really no reason to select it explicitly.Is the plan to hide it from the user eventually?
Yes, that's what I'm trying to do, but I need to remove all these dependencies tree-wide first.
Bartosz
Quoted 2 lines
Reviewed-by Andy Shevchenko <[email protected]>
Quoted 33 lines · Bartosz Golaszewski
OF_GPIOis selected automatically on all OF systems. Any symbols it controls also provide stubs and are private to GPIOLIB anyway so there's really no reason to select it explicitly.Signed-off-by Bartosz Golaszewski <[email protected]>---
Changes in v3:
- Send the bus patch separately so that it can be picked up for v7.2
- Link to v2: https://patch.msgid.link/[email protected]Changes in v2:
- Make gpio-watchdog depend on OF && GPIOLIB
- Drop picked up patches
- Link to v1: https://patch.msgid.link/[email protected]drivers/bus/Kconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)drivers/bus/Kconfig +1
-2@@ -216,7 +216,7 @@ config TI_SYSC config TS_NBUS tristate "Technologic Systems NBUS Driver" depends on SOC_IMX28 - depends on OF_GPIO && PWM + depends on PWM help Driver for the Technologic Systems NBUS which is used to interface with the peripherals in the FPGA of the TS-4600 SoM. --
Quoted 2 lines
2.47.3
Gentle ping.
Bart
Quoted 10 lines · Bartosz Golaszewski
Quoted 7 lines · Bartosz Golaszewski
OF_GPIOis selected automatically on all OF systems. Any symbols it controls also provide stubs and are private to GPIOLIB anyway so there's really no reason to select it explicitly.Signed-off-by Bartosz Golaszewski <[email protected]>---
...
Quoted 4 lines
Gentle ping.
Bart
There are no responses. If there are no objections, I will queue this through the GPIO tree for v7.2 in the following days.
Bartosz
Andy Shevchenko
Reviewed-byQuoted 7 lines · Bartosz Golaszewski
Quoted 6 lines · Bartosz Golaszewski
Quoted 4 lines · Bartosz Golaszewski
OF_GPIOis selected automatically on all OF systems. Any symbols it controls also provide stubs and are private to GPIOLIB anyway so there's really no reason to select it explicitly.
...
Quoted 5 lines
Quoted 2 lines
Gentle ping.
There are no responses. If there are no objections, I will queue this through the GPIO tree for v7.2 in the following days.
This is right thing to do, so
whatever tree it goes through.
Signature · 2 lines
With Best Regards, Andy Shevchenko
Bartosz Golaszewski
AppliedQuoted 5 lines · Bartosz Golaszewski
OF_GPIOis selected automatically on all OF systems. Any symbols it controls also provide stubs and are private to GPIOLIB anyway so there's really no reason to select it explicitly.
Applied, thanks!
[1/1] bus: ts-nbus: drop unneeded dependency on OF_GPIO
https://git.kernel.org/brgl/c/c698cfec79eb71588b512e790fbf9e10a39c3179
Best regards,
Signature · 1 line
Bartosz Golaszewski <[email protected]>