Skip to contentSkip to conversation

staging: media: max96712: drop unneeded dependency on OF_GPIO

PATCH Applied Bartosz Golaszewski 2 participants 4 messages May 6 – Jun 8

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH v3 1/1 staging: media: max96712: 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 staging 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/staging/media/max96712/Kconfig | 1 -
 1 file changed, 1 deletion(-)
drivers/staging/media/max96712/Kconfig +0 -1
index 117fadf81bd0..93a2d583e90d 100644
@@ -2,7 +2,6 @@
 config VIDEO_MAX96712
 	tristate "Maxim MAX96712 Quad GMSL2 Deserializer support"
 	depends on I2C
-	depends on OF_GPIO
 	depends on VIDEO_DEV
 	select V4L2_FWNODE
 	select VIDEO_V4L2_SUBDEV_API
Signature · 1 line
2.47.3
#1 lore raw
Quoted 32 lines · Bartosz Golaszewski

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 staging 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/staging/media/max96712/Kconfig | 1 -
 1 file changed, 1 deletion(-)
drivers/staging/media/max96712/Kconfig +0 -2
index 117fadf81bd0..93a2d583e90d 100644
@@ -2,7 +2,6 @@
 config VIDEO_MAX96712
        tristate "Maxim MAX96712 Quad GMSL2 Deserializer support"
        depends on I2C
-       depends on OF_GPIO
        depends on VIDEO_DEV
        select V4L2_FWNODE
        select VIDEO_V4L2_SUBDEV_API
--
Quoted 2 lines

2.47.3

Gentle ping.

Bart

#2 lore raw
Quoted 40 lines · Bartosz Golaszewski
Quoted 32 lines · Bartosz Golaszewski

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 staging 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/staging/media/max96712/Kconfig | 1 -
 1 file changed, 1 deletion(-)
drivers/staging/media/max96712/Kconfig +0 -2
index 117fadf81bd0..93a2d583e90d 100644
@@ -2,7 +2,6 @@
 config VIDEO_MAX96712
        tristate "Maxim MAX96712 Quad GMSL2 Deserializer support"
        depends on I2C
-       depends on OF_GPIO
        depends on VIDEO_DEV
        select V4L2_FWNODE
        select VIDEO_V4L2_SUBDEV_API
--
Quoted 2 lines

2.47.3

Gentle ping.

Quoted 1 line

Bart

Are there any objections to me queuing this through the GPIO tree for v7.2?

Bartosz

author Applied
#3 lore raw
In reply to Bartosz Golaszewski
Quoted 5 lines · Bartosz Golaszewski

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.

Applied, thanks!

[1/1] staging: media: max96712: drop unneeded dependency on OF_GPIO

      https://git.kernel.org/brgl/c/b8840c4f640e07562f15e5fc477ddaf1b2efb241

Best regards,

Signature · 1 line
Bartosz Golaszewski <[email protected]>