aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/iio/dac
diff options
context:
space:
mode:
authorLars-Peter Clausen <lars@metafoo.de>2013-07-15 03:45:00 -0400
committerJonathan Cameron <jic23@kernel.org>2013-08-03 13:40:36 -0400
commit3edc84e6054616b87a3d155fe65fa51f2eae82aa (patch)
treeaeb9061cdd0983ff638ac8cb36bfb25b3b579091 /drivers/iio/dac
parent4fd313da0430cb122d469abaadd5990f3d8af3f7 (diff)
iio: Add a comment to about alphabetical order to Kconfigs and Makefiles
Keeping Makefile and Kconfig entries in alphabetical order usually works better than just appending new entries at the end, since it reduces the amount of conflicts. This patch adds a comment to the IIO Kconfig and Makefile files to document that the entries should be kept in alphabetical order. Also reorder those entries which weren't in alphabetical order yet. Signed-off-by: Lars-Peter Clausen <lars@metafoo.de> Signed-off-by: Jonathan Cameron <jic23@kernel.org>
Diffstat (limited to 'drivers/iio/dac')
-rw-r--r--drivers/iio/dac/Kconfig38
-rw-r--r--drivers/iio/dac/Makefile1
2 files changed, 21 insertions, 18 deletions
diff --git a/drivers/iio/dac/Kconfig b/drivers/iio/dac/Kconfig
index b9fd4c7bfd98..3c6a78a75b78 100644
--- a/drivers/iio/dac/Kconfig
+++ b/drivers/iio/dac/Kconfig
@@ -1,6 +1,8 @@
1# 1#
2# DAC drivers 2# DAC drivers
3# 3#
4# When adding new entries keep the list in alphabetical order
5
4menu "Digital to analog converters" 6menu "Digital to analog converters"
5 7
6config AD5064 8config AD5064
@@ -48,13 +50,6 @@ config AD5421
48 To compile this driver as module choose M here: the module will be called 50 To compile this driver as module choose M here: the module will be called
49 ad5421. 51 ad5421.
50 52
51config AD5624R_SPI
52 tristate "Analog Devices AD5624/44/64R DAC spi driver"
53 depends on SPI
54 help
55 Say yes here to build support for Analog Devices AD5624R, AD5644R and
56 AD5664R converters (DAC). This driver uses the common SPI interface.
57
58config AD5446 53config AD5446
59 tristate "Analog Devices AD5446 and similar single channel DACs driver" 54 tristate "Analog Devices AD5446 and similar single channel DACs driver"
60 depends on (SPI_MASTER && I2C!=m) || I2C 55 depends on (SPI_MASTER && I2C!=m) || I2C
@@ -87,6 +82,24 @@ config AD5504
87 To compile this driver as a module, choose M here: the 82 To compile this driver as a module, choose M here: the
88 module will be called ad5504. 83 module will be called ad5504.
89 84
85config AD5624R_SPI
86 tristate "Analog Devices AD5624/44/64R DAC spi driver"
87 depends on SPI
88 help
89 Say yes here to build support for Analog Devices AD5624R, AD5644R and
90 AD5664R converters (DAC). This driver uses the common SPI interface.
91
92config AD5686
93 tristate "Analog Devices AD5686R/AD5685R/AD5684R DAC SPI driver"
94 depends on SPI
95 help
96 Say yes here to build support for Analog Devices AD5686R, AD5685R,
97 AD5684R, AD5791 Voltage Output Digital to
98 Analog Converter.
99
100 To compile this driver as a module, choose M here: the
101 module will be called ad5686.
102
90config AD5755 103config AD5755
91 tristate "Analog Devices AD5755/AD5755-1/AD5757/AD5735/AD5737 DAC driver" 104 tristate "Analog Devices AD5755/AD5755-1/AD5757/AD5735/AD5737 DAC driver"
92 depends on SPI_MASTER 105 depends on SPI_MASTER
@@ -119,17 +132,6 @@ config AD5791
119 To compile this driver as a module, choose M here: the 132 To compile this driver as a module, choose M here: the
120 module will be called ad5791. 133 module will be called ad5791.
121 134
122config AD5686
123 tristate "Analog Devices AD5686R/AD5685R/AD5684R DAC SPI driver"
124 depends on SPI
125 help
126 Say yes here to build support for Analog Devices AD5686R, AD5685R,
127 AD5684R, AD5791 Voltage Output Digital to
128 Analog Converter.
129
130 To compile this driver as a module, choose M here: the
131 module will be called ad5686.
132
133config AD7303 135config AD7303
134 tristate "Analog Devices AD7303 DAC driver" 136 tristate "Analog Devices AD7303 DAC driver"
135 depends on SPI 137 depends on SPI
diff --git a/drivers/iio/dac/Makefile b/drivers/iio/dac/Makefile
index c8d7ab6bff01..bb84ad64463f 100644
--- a/drivers/iio/dac/Makefile
+++ b/drivers/iio/dac/Makefile
@@ -2,6 +2,7 @@
2# Makefile for industrial I/O DAC drivers 2# Makefile for industrial I/O DAC drivers
3# 3#
4 4
5# When adding new entries keep the list in alphabetical order
5obj-$(CONFIG_AD5360) += ad5360.o 6obj-$(CONFIG_AD5360) += ad5360.o
6obj-$(CONFIG_AD5380) += ad5380.o 7obj-$(CONFIG_AD5380) += ad5380.o
7obj-$(CONFIG_AD5421) += ad5421.o 8obj-$(CONFIG_AD5421) += ad5421.o