]> www.infradead.org Git - users/dwmw2/linux.git/commitdiff
media: atomisp: fix identation at I2C Kconfig menu
authorMauro Carvalho Chehab <mchehab+huawei@kernel.org>
Mon, 15 Jun 2020 05:43:03 +0000 (07:43 +0200)
committerMauro Carvalho Chehab <mchehab+huawei@kernel.org>
Thu, 3 Sep 2020 08:59:03 +0000 (10:59 +0200)
There are several bad whitespacing usage there. Remove them.

While here, place all Kconfig options for sensors at the
same place.

Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
drivers/staging/media/atomisp/i2c/Kconfig
drivers/staging/media/atomisp/i2c/ov5693/Kconfig [deleted file]

index 7c7f0fc090b391ec11ceb5dc8cf316fba571998a..a772b833a85f1f111e2defd0a43c38bac9ba4f6a 100644 (file)
@@ -3,53 +3,51 @@
 # Kconfig for sensor drivers
 #
 
-source "drivers/staging/media/atomisp/i2c/ov5693/Kconfig"
-
 config VIDEO_ATOMISP_OV2722
-       tristate "OVT ov2722 sensor support"
+       tristate "OVT ov2722 sensor support"
        depends on ACPI
-       depends on I2C && VIDEO_V4L2
+       depends on I2C && VIDEO_V4L2
        help
-        This is a Video4Linux2 sensor-level driver for the OVT
-        OV2722 raw camera.
+         This is a Video4Linux2 sensor-level driver for the OVT
+         OV2722 raw camera.
 
-        OVT is a 2M raw sensor.
+         OVT is a 2M raw sensor.
 
-        It currently only works with the atomisp driver.
+         It currently only works with the atomisp driver.
 
 config VIDEO_ATOMISP_GC2235
-       tristate "Galaxy gc2235 sensor support"
+       tristate "Galaxy gc2235 sensor support"
        depends on ACPI
-       depends on I2C && VIDEO_V4L2
+       depends on I2C && VIDEO_V4L2
        help
-        This is a Video4Linux2 sensor-level driver for the OVT
-        GC2235 raw camera.
+         This is a Video4Linux2 sensor-level driver for the OVT
+         GC2235 raw camera.
 
-        GC2235 is a 2M raw sensor.
+         GC2235 is a 2M raw sensor.
 
-        It currently only works with the atomisp driver.
+         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
+       tristate "Helper library to load, parse and apply large register lists."
+       depends on I2C
        help
-        This is a helper library to be used from a sensor driver to load, parse
-        and apply large register lists.
+         This is a helper library to be used from a sensor driver to load, parse
+         and apply large register lists.
 
-        To compile this driver as a module, choose M here: the
-        module will be called libmsrlisthelper.
+         To compile this driver as a module, choose M here: the
+         module will be called libmsrlisthelper.
 
 config VIDEO_ATOMISP_MT9M114
-       tristate "Aptina mt9m114 sensor support"
+       tristate "Aptina mt9m114 sensor support"
        depends on ACPI
-       depends on I2C && VIDEO_V4L2
+       depends on I2C && VIDEO_V4L2
        help
-        This is a Video4Linux2 sensor-level driver for the Micron
-        mt9m114 1.3 Mpixel camera.
+         This is a Video4Linux2 sensor-level driver for the Micron
+         mt9m114 1.3 Mpixel camera.
 
-        mt9m114 is video camera sensor.
+         mt9m114 is video camera sensor.
 
-        It currently only works with the atomisp driver.
+         It currently only works with the atomisp driver.
 
 config VIDEO_ATOMISP_GC0310
        tristate "GC0310 sensor support"
@@ -60,16 +58,28 @@ config VIDEO_ATOMISP_GC0310
          GC0310 0.3MP sensor.
 
 config VIDEO_ATOMISP_OV2680
-       tristate "Omnivision OV2680 sensor support"
+       tristate "Omnivision OV2680 sensor support"
+       depends on ACPI
+       depends on I2C && VIDEO_V4L2
+       help
+         This is a Video4Linux2 sensor-level driver for the Omnivision
+         OV2680 raw camera.
+
+         ov2680 is a 2M raw sensor.
+
+         It currently only works with the atomisp driver.
+
+config VIDEO_ATOMISP_OV5693
+       tristate "Omnivision ov5693 sensor support"
        depends on ACPI
-       depends on I2C && VIDEO_V4L2
+       depends on I2C && VIDEO_V4L2
        help
-        This is a Video4Linux2 sensor-level driver for the Omnivision
-        OV2680 raw camera.
+         This is a Video4Linux2 sensor-level driver for the Micron
+         ov5693 5 Mpixel camera.
 
-        ov2680 is a 2M raw sensor.
+         ov5693 is video camera sensor.
 
-        It currently only works with the atomisp driver.
+         It currently only works with the atomisp driver.
 
 #
 # Kconfig for flash drivers
diff --git a/drivers/staging/media/atomisp/i2c/ov5693/Kconfig b/drivers/staging/media/atomisp/i2c/ov5693/Kconfig
deleted file mode 100644 (file)
index c8d09f4..0000000
+++ /dev/null
@@ -1,12 +0,0 @@
-# SPDX-License-Identifier: GPL-2.0
-config VIDEO_ATOMISP_OV5693
-       tristate "Omnivision ov5693 sensor support"
-       depends on ACPI
-       depends on I2C && VIDEO_V4L2
-       help
-        This is a Video4Linux2 sensor-level driver for the Micron
-        ov5693 5 Mpixel camera.
-
-        ov5693 is video camera sensor.
-
-        It currently only works with the atomisp driver.