similarity index 100%
rename from Documentation/devicetree/bindings/iio/multiplexer/io-channel-mux.txt
rename to Documentation/devicetree/bindings/iio/wrapper/io-channel-mux.txt
@@ -6865,8 +6865,8 @@ IIO MULTIPLEXER
M: Peter Rosin <peda@axentia.se>
L: linux-iio@vger.kernel.org
S: Maintained
-F: Documentation/devicetree/bindings/iio/multiplexer/iio-mux.txt
-F: drivers/iio/multiplexer/iio-mux.c
+F: Documentation/devicetree/bindings/iio/wrapper/io-channel-mux.txt
+F: drivers/iio/wrapper/iio-mux.c
IIO SUBSYSTEM AND DRIVERS
M: Jonathan Cameron <jic23@kernel.org>
@@ -83,7 +83,6 @@ source "drivers/iio/humidity/Kconfig"
source "drivers/iio/imu/Kconfig"
source "drivers/iio/light/Kconfig"
source "drivers/iio/magnetometer/Kconfig"
-source "drivers/iio/multiplexer/Kconfig"
source "drivers/iio/orientation/Kconfig"
if IIO_TRIGGER
source "drivers/iio/trigger/Kconfig"
@@ -93,5 +92,6 @@ source "drivers/iio/potentiostat/Kconfig"
source "drivers/iio/pressure/Kconfig"
source "drivers/iio/proximity/Kconfig"
source "drivers/iio/temperature/Kconfig"
+source "drivers/iio/wrapper/Kconfig"
endif # IIO
@@ -29,7 +29,6 @@ obj-y += humidity/
obj-y += imu/
obj-y += light/
obj-y += magnetometer/
-obj-y += multiplexer/
obj-y += orientation/
obj-y += potentiometer/
obj-y += potentiostat/
@@ -37,3 +36,4 @@ obj-y += pressure/
obj-y += proximity/
obj-y += temperature/
obj-y += trigger/
+obj-y += wrapper/
similarity index 88%
rename from drivers/iio/multiplexer/Kconfig
rename to drivers/iio/wrapper/Kconfig
@@ -1,9 +1,9 @@
#
-# Multiplexer drivers
+# Wrapper drivers
#
# When adding new entries keep the list in alphabetical order
-menu "Multiplexers"
+menu "Wrapers"
config IIO_MUX
tristate "IIO multiplexer driver"
similarity index 67%
rename from drivers/iio/multiplexer/Makefile
rename to drivers/iio/wrapper/Makefile
@@ -1,5 +1,5 @@
#
-# Makefile for industrial I/O multiplexer drivers
+# Makefile for industrial I/O wrapper drivers
#
# When adding new entries keep the list in alphabetical order
similarity index 100%
rename from drivers/iio/multiplexer/iio-mux.c
rename to drivers/iio/wrapper/iio-mux.c
Paves the way for other wrappers. Signed-off-by: Peter Rosin <peda@axentia.se> --- .../bindings/iio/{multiplexer => wrapper}/io-channel-mux.txt | 0 MAINTAINERS | 4 ++-- drivers/iio/Kconfig | 2 +- drivers/iio/Makefile | 2 +- drivers/iio/{multiplexer => wrapper}/Kconfig | 4 ++-- drivers/iio/{multiplexer => wrapper}/Makefile | 2 +- drivers/iio/{multiplexer => wrapper}/iio-mux.c | 0 7 files changed, 7 insertions(+), 7 deletions(-) rename Documentation/devicetree/bindings/iio/{multiplexer => wrapper}/io-channel-mux.txt (100%) rename drivers/iio/{multiplexer => wrapper}/Kconfig (88%) rename drivers/iio/{multiplexer => wrapper}/Makefile (67%) rename drivers/iio/{multiplexer => wrapper}/iio-mux.c (100%)