Skip to contentSkip to conversation

staging:iio: Delete some commented out lines in Kconfig and Makefile.

PATCH In review Jonathan Cameron 1 participant 2 messages Nov 21, 2015 – Nov 22, 2015

Subsystems (3)
lore
Share & tools
lore

Jonathan Cameron

author maintainer
#0 lore raw

PATCH 1/1 staging:iio: Delete some commented out lines in Kconfig and Makefile.

These should have been removed with the driver move out of staging but instead were commented out. This was missed in reviews at the time so fixing it up now.

---
 drivers/staging/iio/Kconfig  | 28 ----------------------------
 drivers/staging/iio/Makefile |  7 -------
 2 files changed, 35 deletions(-)
drivers/staging/iio/Kconfig +0 -28
index 85de1985df8e..0e044cb0def8 100644
@@ -17,32 +17,4 @@ source "drivers/staging/iio/meter/Kconfig"
 source "drivers/staging/iio/resolver/Kconfig"
 source "drivers/staging/iio/trigger/Kconfig"
 
-#config IIO_DUMMY_EVGEN
-#       tristate
-#
-#config IIO_SIMPLE_DUMMY
-#       tristate "An example driver with no hardware requirements"
-#       help
-#	 Driver intended mainly as documentation for how to write
-#	 a driver. May also be useful for testing userspace code
-#	 without hardware.
-
-#if IIO_SIMPLE_DUMMY
-
-#config IIO_SIMPLE_DUMMY_EVENTS
-#       bool "Event generation support"
-#       select IIO_DUMMY_EVGEN
-#      help
-#        Add some dummy events to the simple dummy driver.
-
-#config IIO_SIMPLE_DUMMY_BUFFER
-#	bool "Buffered capture support"
-#	select IIO_BUFFER
-# select IIO_TRIGGER
-#	select IIO_KFIFO_BUF
-#	help
-#	  Add buffered data capture to the simple dummy driver.
-
-#endif # IIO_SIMPLE_DUMMY
-
 endmenu
drivers/staging/iio/Makefile +0 -7
index 355824ab733b..3e616b4437f5 100644
@@ -2,13 +2,6 @@
 # Makefile for the industrial I/O core.
 #
 
-#obj-$(CONFIG_IIO_SIMPLE_DUMMY) += iio_dummy.o
-#iio_dummy-y := iio_simple_dummy.o
-#iio_dummy-$(CONFIG_IIO_SIMPLE_DUMMY_EVENTS) += iio_simple_dummy_events.o
-#iio_dummy-$(CONFIG_IIO_SIMPLE_DUMMY_BUFFER) += iio_simple_dummy_buffer.o
-
-#obj-$(CONFIG_IIO_DUMMY_EVGEN) += iio_dummy_evgen.o
-
 obj-y += accel/
 obj-y += adc/
 obj-y += addac/
Signature · 1 line
2.6.2
author maintainer
#1 lore raw
Quoted 5 lines · Jonathan Cameron

These should have been removed with the driver move out of staging but instead were commented out. This was missed in reviews at the time so fixing it up now.

I'm feeling cynical today and that no one will probably want to review this. (and that it would be a waste of time if anyone did!)

Hence applied to the togreg branch of iio.git and pushed out as testing for the autobuilders to play with it!

Jonathan

Quoted 61 lines
---
 drivers/staging/iio/Kconfig  | 28 ----------------------------
 drivers/staging/iio/Makefile |  7 -------
 2 files changed, 35 deletions(-)
drivers/staging/iio/Kconfig +0 -28
index 85de1985df8e..0e044cb0def8 100644
@@ -17,32 +17,4 @@ source "drivers/staging/iio/meter/Kconfig"
 source "drivers/staging/iio/resolver/Kconfig"
 source "drivers/staging/iio/trigger/Kconfig"
 
-#config IIO_DUMMY_EVGEN
-#       tristate
-#
-#config IIO_SIMPLE_DUMMY
-#       tristate "An example driver with no hardware requirements"
-#       help
-#	 Driver intended mainly as documentation for how to write
-#	 a driver. May also be useful for testing userspace code
-#	 without hardware.
-
-#if IIO_SIMPLE_DUMMY
-
-#config IIO_SIMPLE_DUMMY_EVENTS
-#       bool "Event generation support"
-#       select IIO_DUMMY_EVGEN
-#      help
-#        Add some dummy events to the simple dummy driver.
-
-#config IIO_SIMPLE_DUMMY_BUFFER
-#	bool "Buffered capture support"
-#	select IIO_BUFFER
-# select IIO_TRIGGER
-#	select IIO_KFIFO_BUF
-#	help
-#	  Add buffered data capture to the simple dummy driver.
-
-#endif # IIO_SIMPLE_DUMMY
-
 endmenu
drivers/staging/iio/Makefile +0 -7
index 355824ab733b..3e616b4437f5 100644
@@ -2,13 +2,6 @@
 # Makefile for the industrial I/O core.
 #
 
-#obj-$(CONFIG_IIO_SIMPLE_DUMMY) += iio_dummy.o
-#iio_dummy-y := iio_simple_dummy.o
-#iio_dummy-$(CONFIG_IIO_SIMPLE_DUMMY_EVENTS) += iio_simple_dummy_events.o
-#iio_dummy-$(CONFIG_IIO_SIMPLE_DUMMY_BUFFER) += iio_simple_dummy_buffer.o
-
-#obj-$(CONFIG_IIO_DUMMY_EVGEN) += iio_dummy_evgen.o
-
 obj-y += accel/
 obj-y += adc/
 obj-y += addac/