Skip to contentSkip to conversation

staging: media: remove unused VIDEO_ATOMISP_OV8858 kconfig

PATCH In review Corentin Labbe 4 participants 6 messages Jan 23, 2018 – Jan 26, 2018

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

PATCH 1/1 staging: media: remove unused VIDEO_ATOMISP_OV8858 kconfig

Nothing in kernel use VIDEO_ATOMISP_OV8858 since commit 3a81c7660f80 ("media: staging: atomisp: Remove IMX sensor support") Lets remove this kconfig option.

---
 drivers/staging/media/atomisp/i2c/Kconfig | 12 ------------
 1 file changed, 12 deletions(-)
drivers/staging/media/atomisp/i2c/Kconfig +0 -12
index db054d3c7ed6..f7f7177b9b37 100644
@@ -28,18 +28,6 @@ config VIDEO_ATOMISP_GC2235
 
 	 It currently only works with the atomisp driver.
 
-config VIDEO_ATOMISP_OV8858
-       tristate "Omnivision ov8858 sensor support"
-	depends on ACPI
-       depends on I2C && VIDEO_V4L2 && VIDEO_ATOMISP
-       ---help---
-	 This is a Video4Linux2 sensor-level driver for the Omnivision
-	 ov8858 RAW sensor.
-
-	 OV8858 is a 8M raw sensor.
-
-	 It currently only works with the atomisp driver.
-
 config VIDEO_ATOMISP_MSRLIST_HELPER
        tristate "Helper library to load, parse and apply large register lists."
        depends on I2C
Signature · 1 line
2.13.6
#1 lore raw
Quoted 2 lines · Corentin Labbe

Nothing in kernel use VIDEO_ATOMISP_OV8858 since commit 3a81c7660f80 ("media: staging: atomisp: Remove IMX sensor support") Lets remove this kconfig option.

First of all, I hardly understand how that change is related. Second, did you check Makefile?
Third, the files are in the folder (for OV8858).

Taking all above into account, it seems NACK, though regression might be made by renaming patch from Sakari (no, it's not).
So, it looks like it was never enabled in the first place.

Anyway, do you have hardware to test? This is *most* important reason why to accept or decline a change to the driver.

Signature · 6 lines
With Best Regards,
Andy Shevchenko
_______________________________________________
devel mailing list
[email protected]
http://driverdev.linuxdriverproject.org/mailman/listinfo/driverdev-devel
#2 lore raw
Quoted 6 lines · Andy Shevchenko
Quoted 2 lines · Corentin Labbe

Nothing in kernel use VIDEO_ATOMISP_OV8858 since commit 3a81c7660f80 ("media: staging: atomisp: Remove IMX sensor support") Lets remove this kconfig option.

First of all, I hardly understand how that change is related. Second, did you check Makefile?

I don't see it being used in any Makefile, what file do you see it:

	$ git grep VIDEO_ATOMISP_OV8858
	drivers/staging/media/atomisp/i2c/Kconfig:config VIDEO_ATOMISP_OV8858

So it should be removed.

thanks,

greg k-h
_______________________________________________
devel mailing list
[email protected]
http://driverdev.linuxdriverproject.org/mailman/listinfo/driverdev-devel

#3 lore raw
Quoted 8 lines · Greg Kroah-Hartman
Quoted 6 lines · Andy Shevchenko
Quoted 2 lines · Corentin Labbe

Nothing in kernel use VIDEO_ATOMISP_OV8858 since commit 3a81c7660f80 ("media: staging: atomisp: Remove IMX sensor support") Lets remove this kconfig option.

First of all, I hardly understand how that change is related. Second, did you check Makefile?

Quoted 8 lines

I don't see it being used in any Makefile, what file do you see it:

	$ git grep VIDEO_ATOMISP_OV8858
	drivers/staging/media/atomisp/i2c/Kconfig:config VIDEO_ATOMISP_OV8858

So it should be removed.

thanks,

Hello

I just see that 3a81c7660f80 left ov8858.c so do you agree that I send a v2 which remove also this file ? av8858.c is useless without dw9718.c and vcm.c which 3a81c7660f80 removed.

Regards
_______________________________________________
devel mailing list
[email protected]
http://driverdev.linuxdriverproject.org/mailman/listinfo/driverdev-devel

#4 lore raw
Quoted 13 lines · LABBE Corentin
Quoted 12 lines · Greg Kroah-Hartman
Quoted 6 lines · Andy Shevchenko
Quoted 2 lines · Corentin Labbe

Nothing in kernel use VIDEO_ATOMISP_OV8858 since commit 3a81c7660f80 ("media: staging: atomisp: Remove IMX sensor support") Lets remove this kconfig option.

First of all, I hardly understand how that change is related. Second, did you check Makefile?

I don't see it being used in any Makefile, what file do you see it:

      $ git grep VIDEO_ATOMISP_OV8858
      drivers/staging/media/atomisp/i2c/Kconfig:config VIDEO_ATOMISP_OV8858
Quoted 6 lines
Quoted 3 lines

So it should be removed.

thanks,

I just see that 3a81c7660f80 left ov8858.c so do you agree that I send a v2 which remove also this file ? av8858.c is useless without dw9718.c and vcm.c which 3a81c7660f80 removed.

Removal of dead code is pretty fine to me, though the decision is to Alan and Sakari.

Signature · 2 lines
With Best Regards,
Andy Shevchenko
#5 lore raw
In reply to Andy Shevchenko
Quoted 5 lines · Andy Shevchenko
Quoted 2 lines · Corentin Labbe

Nothing in kernel use VIDEO_ATOMISP_OV8858 since commit 3a81c7660f80 ("media: staging: atomisp: Remove IMX sensor support") Lets remove this kconfig option.

First of all, I hardly understand how that change is related.

It's pretty obvious if you look at the commit.

-obj-$(CONFIG_VIDEO_ATOMISP_OV8858) += atomisp-ov8858.o

It sounds like you deleted that line by mistake and re-added it to your local Makefile?

regards,
dan carpenter