Linux-IIO Archive on lore.kernel.org
 help / color / Atom feed
* [PATCH] iio: adc: Move AD7091R5 entry in a alphabetical order in Makefile
@ 2019-12-03 10:17 Beniamin Bia
  2019-12-07 10:18 ` Jonathan Cameron
  0 siblings, 1 reply; 2+ messages in thread
From: Beniamin Bia @ 2019-12-03 10:17 UTC (permalink / raw)
  To: jic23
  Cc: lars, pmeerw, linux-iio, linux-kernel, knaack.h, fabrice.gasnier,
	biabeniamin, Beniamin Bia

Ad7091R5 was added in a non alphabetical order after AD7124 in Makefile and
KConfig. This patch fixes that and place Ad7091R5 before AD7124.

Signed-off-by: Beniamin Bia <beniamin.bia@analog.com>
---
 drivers/iio/adc/Kconfig  | 14 +++++++-------
 drivers/iio/adc/Makefile |  2 +-
 2 files changed, 8 insertions(+), 8 deletions(-)

diff --git a/drivers/iio/adc/Kconfig b/drivers/iio/adc/Kconfig
index 976567d4dbef..27bb4e56eaea 100644
--- a/drivers/iio/adc/Kconfig
+++ b/drivers/iio/adc/Kconfig
@@ -21,6 +21,13 @@ config AD_SIGMA_DELTA
 	select IIO_BUFFER
 	select IIO_TRIGGERED_BUFFER
 
+config AD7091R5
+	tristate "Analog Devices AD7091R5 ADC Driver"
+	depends on I2C
+	select REGMAP_I2C
+	help
+	  Say yes here to build support for Analog Devices AD7091R-5 ADC.
+
 config AD7124
 	tristate "Analog Devices AD7124 and similar sigma-delta ADCs driver"
 	depends on SPI_MASTER
@@ -32,13 +39,6 @@ config AD7124
 	  To compile this driver as a module, choose M here: the module will be
 	  called ad7124.
 
-config AD7091R5
-	tristate "Analog Devices AD7091R5 ADC Driver"
-	depends on I2C
-	select REGMAP_I2C
-	help
-	  Say yes here to build support for Analog Devices AD7091R-5 ADC.
-
 config AD7266
 	tristate "Analog Devices AD7265/AD7266 ADC driver"
 	depends on SPI_MASTER
diff --git a/drivers/iio/adc/Makefile b/drivers/iio/adc/Makefile
index 84936ec24411..bf8354cdbc34 100644
--- a/drivers/iio/adc/Makefile
+++ b/drivers/iio/adc/Makefile
@@ -6,8 +6,8 @@
 # When adding new entries keep the list in alphabetical order
 obj-$(CONFIG_AB8500_GPADC) += ab8500-gpadc.o
 obj-$(CONFIG_AD_SIGMA_DELTA) += ad_sigma_delta.o
-obj-$(CONFIG_AD7124) += ad7124.o
 obj-$(CONFIG_AD7091R5) += ad7091r5.o ad7091r-base.o
+obj-$(CONFIG_AD7124) += ad7124.o
 obj-$(CONFIG_AD7266) += ad7266.o
 obj-$(CONFIG_AD7291) += ad7291.o
 obj-$(CONFIG_AD7292) += ad7292.o
-- 
2.17.1


^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [PATCH] iio: adc: Move AD7091R5 entry in a alphabetical order in Makefile
  2019-12-03 10:17 [PATCH] iio: adc: Move AD7091R5 entry in a alphabetical order in Makefile Beniamin Bia
@ 2019-12-07 10:18 ` Jonathan Cameron
  0 siblings, 0 replies; 2+ messages in thread
From: Jonathan Cameron @ 2019-12-07 10:18 UTC (permalink / raw)
  To: Beniamin Bia
  Cc: lars, pmeerw, linux-iio, linux-kernel, knaack.h, fabrice.gasnier,
	biabeniamin

On Tue, 3 Dec 2019 12:17:13 +0200
Beniamin Bia <beniamin.bia@analog.com> wrote:

> Ad7091R5 was added in a non alphabetical order after AD7124 in Makefile and
> KConfig. This patch fixes that and place Ad7091R5 before AD7124.
> 
> Signed-off-by: Beniamin Bia <beniamin.bia@analog.com>
Applied to the togreg branch of iio.git and pushed out as testing to
make not difference (hopefully :)

Jonathan

> ---
>  drivers/iio/adc/Kconfig  | 14 +++++++-------
>  drivers/iio/adc/Makefile |  2 +-
>  2 files changed, 8 insertions(+), 8 deletions(-)
> 
> diff --git a/drivers/iio/adc/Kconfig b/drivers/iio/adc/Kconfig
> index 976567d4dbef..27bb4e56eaea 100644
> --- a/drivers/iio/adc/Kconfig
> +++ b/drivers/iio/adc/Kconfig
> @@ -21,6 +21,13 @@ config AD_SIGMA_DELTA
>  	select IIO_BUFFER
>  	select IIO_TRIGGERED_BUFFER
>  
> +config AD7091R5
> +	tristate "Analog Devices AD7091R5 ADC Driver"
> +	depends on I2C
> +	select REGMAP_I2C
> +	help
> +	  Say yes here to build support for Analog Devices AD7091R-5 ADC.
> +
>  config AD7124
>  	tristate "Analog Devices AD7124 and similar sigma-delta ADCs driver"
>  	depends on SPI_MASTER
> @@ -32,13 +39,6 @@ config AD7124
>  	  To compile this driver as a module, choose M here: the module will be
>  	  called ad7124.
>  
> -config AD7091R5
> -	tristate "Analog Devices AD7091R5 ADC Driver"
> -	depends on I2C
> -	select REGMAP_I2C
> -	help
> -	  Say yes here to build support for Analog Devices AD7091R-5 ADC.
> -
>  config AD7266
>  	tristate "Analog Devices AD7265/AD7266 ADC driver"
>  	depends on SPI_MASTER
> diff --git a/drivers/iio/adc/Makefile b/drivers/iio/adc/Makefile
> index 84936ec24411..bf8354cdbc34 100644
> --- a/drivers/iio/adc/Makefile
> +++ b/drivers/iio/adc/Makefile
> @@ -6,8 +6,8 @@
>  # When adding new entries keep the list in alphabetical order
>  obj-$(CONFIG_AB8500_GPADC) += ab8500-gpadc.o
>  obj-$(CONFIG_AD_SIGMA_DELTA) += ad_sigma_delta.o
> -obj-$(CONFIG_AD7124) += ad7124.o
>  obj-$(CONFIG_AD7091R5) += ad7091r5.o ad7091r-base.o
> +obj-$(CONFIG_AD7124) += ad7124.o
>  obj-$(CONFIG_AD7266) += ad7266.o
>  obj-$(CONFIG_AD7291) += ad7291.o
>  obj-$(CONFIG_AD7292) += ad7292.o


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, back to index

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-12-03 10:17 [PATCH] iio: adc: Move AD7091R5 entry in a alphabetical order in Makefile Beniamin Bia
2019-12-07 10:18 ` Jonathan Cameron

Linux-IIO Archive on lore.kernel.org

Archives are clonable:
	git clone --mirror https://lore.kernel.org/linux-iio/0 linux-iio/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 linux-iio linux-iio/ https://lore.kernel.org/linux-iio \
		linux-iio@vger.kernel.org
	public-inbox-index linux-iio

Example config snippet for mirrors

Newsgroup available over NNTP:
	nntp://nntp.lore.kernel.org/org.kernel.vger.linux-iio


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git