linux-pwm.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 03/20] kconfig: Remove leftover references to AVR32 symbol
       [not found] <20180205012146.23981-1-ulfalizer@gmail.com>
@ 2018-02-05  1:21 ` Ulf Magnusson
  2018-02-05  4:05   ` Viresh Kumar
  0 siblings, 1 reply; 4+ messages in thread
From: Ulf Magnusson @ 2018-02-05  1:21 UTC (permalink / raw)
  To: linux-kernel
  Cc: linux-kbuild, tfiga, paul.burton, m.szyprowski, egtvedt,
	linus.walleij, vgupta, mgorman, hch, mina86, robh, sboyd, paulus,
	will.deacon, tony, npiggin, yamada.masahiro, Ulf Magnusson,
	Rafael J. Wysocki, Viresh Kumar, Thierry Reding, Mark Brown,
	Bartlomiej Zolnierkiewicz, Sean Paul, Daniel Vetter,
	Christophe Leroy, linux-pm

The AVR32 symbol was removed in commit 26202873bb51 ("avr32: remove
support for AVR32 architecture"). Remove the remaining references to it
from the Kconfig files.

No references remain to the removed AVR32_AT32AP_CPUFREQ symbol either,
so remove that one too.

Discovered with the
https://github.com/ulfalizer/Kconfiglib/blob/master/examples/list_undefined.py
script.

Signed-off-by: Ulf Magnusson <ulfalizer@gmail.com>
---
 drivers/cpufreq/Kconfig       | 10 ----------
 drivers/pwm/Kconfig           |  2 +-
 drivers/spi/Kconfig           |  2 +-
 drivers/video/console/Kconfig |  2 +-
 4 files changed, 3 insertions(+), 13 deletions(-)

diff --git a/drivers/cpufreq/Kconfig b/drivers/cpufreq/Kconfig
index d8addbce40bc..608af20a3494 100644
--- a/drivers/cpufreq/Kconfig
+++ b/drivers/cpufreq/Kconfig
@@ -239,16 +239,6 @@ if PPC32 || PPC64
 source "drivers/cpufreq/Kconfig.powerpc"
 endif
 
-if AVR32
-config AVR32_AT32AP_CPUFREQ
-	bool "CPU frequency driver for AT32AP"
-	depends on PLATFORM_AT32AP
-	default n
-	help
-	  This enables the CPU frequency driver for AT32AP processors.
-	  If in doubt, say N.
-endif
-
 if IA64
 config IA64_ACPI_CPUFREQ
 	tristate "ACPI Processor P-States driver"
diff --git a/drivers/pwm/Kconfig b/drivers/pwm/Kconfig
index 763ee50ea57d..f16aad3bf5d6 100644
--- a/drivers/pwm/Kconfig
+++ b/drivers/pwm/Kconfig
@@ -43,7 +43,7 @@ config PWM_AB8500
 
 config PWM_ATMEL
 	tristate "Atmel PWM support"
-	depends on ARCH_AT91 || AVR32
+	depends on ARCH_AT91
 	help
 	  Generic PWM framework driver for Atmel SoC.
 
diff --git a/drivers/spi/Kconfig b/drivers/spi/Kconfig
index 603783976b81..c1e455d46c7f 100644
--- a/drivers/spi/Kconfig
+++ b/drivers/spi/Kconfig
@@ -72,7 +72,7 @@ config SPI_ARMADA_3700
 config SPI_ATMEL
 	tristate "Atmel SPI Controller"
 	depends on HAS_DMA
-	depends on (ARCH_AT91 || AVR32 || COMPILE_TEST)
+	depends on (ARCH_AT91 || COMPILE_TEST)
 	help
 	  This selects a driver for the Atmel SPI Controller, present on
 	  many AT32 (AVR32) and AT91 (ARM) chips.
diff --git a/drivers/video/console/Kconfig b/drivers/video/console/Kconfig
index 7f1f1fbcef9e..be63759b6027 100644
--- a/drivers/video/console/Kconfig
+++ b/drivers/video/console/Kconfig
@@ -7,7 +7,7 @@ menu "Console display driver support"
 config VGA_CONSOLE
 	bool "VGA text console" if EXPERT || !X86
 	depends on !4xx && !PPC_8xx && !SPARC && !M68K && !PARISC && !FRV && \
-		!SUPERH && !BLACKFIN && !AVR32 && !MN10300 && !CRIS && \
+		!SUPERH && !BLACKFIN && !MN10300 && !CRIS && \
 		(!ARM || ARCH_FOOTBRIDGE || ARCH_INTEGRATOR || ARCH_NETWINDER) && \
 		!ARM64 && !ARC && !MICROBLAZE && !OPENRISC
 	default y
-- 
2.14.1

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

* Re: [PATCH 03/20] kconfig: Remove leftover references to AVR32 symbol
  2018-02-05  1:21 ` [PATCH 03/20] kconfig: Remove leftover references to AVR32 symbol Ulf Magnusson
@ 2018-02-05  4:05   ` Viresh Kumar
  2018-02-05  4:44     ` [PATCH v2 " Ulf Magnusson
  0 siblings, 1 reply; 4+ messages in thread
From: Viresh Kumar @ 2018-02-05  4:05 UTC (permalink / raw)
  To: Ulf Magnusson
  Cc: linux-kernel, linux-kbuild, tfiga, paul.burton, m.szyprowski,
	egtvedt, linus.walleij, vgupta, mgorman, hch, mina86, robh, sboyd,
	paulus, will.deacon, tony, npiggin, yamada.masahiro,
	Rafael J. Wysocki, Thierry Reding, Mark Brown,
	Bartlomiej Zolnierkiewicz, Sean Paul, Daniel Vetter,
	Christophe Leroy, linux-pm, linux-pwm, linux-spi, dr

On 05-02-18, 02:21, Ulf Magnusson wrote:
> The AVR32 symbol was removed in commit 26202873bb51 ("avr32: remove
> support for AVR32 architecture"). Remove the remaining references to it
> from the Kconfig files.
> 
> No references remain to the removed AVR32_AT32AP_CPUFREQ symbol either,
> so remove that one too.
> 
> Discovered with the
> https://github.com/ulfalizer/Kconfiglib/blob/master/examples/list_undefined.py
> script.
> 
> Signed-off-by: Ulf Magnusson <ulfalizer@gmail.com>
> ---
>  drivers/cpufreq/Kconfig       | 10 ----------
>  drivers/pwm/Kconfig           |  2 +-
>  drivers/spi/Kconfig           |  2 +-
>  drivers/video/console/Kconfig |  2 +-
>  4 files changed, 3 insertions(+), 13 deletions(-)
> 
> diff --git a/drivers/cpufreq/Kconfig b/drivers/cpufreq/Kconfig
> index d8addbce40bc..608af20a3494 100644
> --- a/drivers/cpufreq/Kconfig
> +++ b/drivers/cpufreq/Kconfig
> @@ -239,16 +239,6 @@ if PPC32 || PPC64
>  source "drivers/cpufreq/Kconfig.powerpc"
>  endif
>  
> -if AVR32
> -config AVR32_AT32AP_CPUFREQ
> -	bool "CPU frequency driver for AT32AP"
> -	depends on PLATFORM_AT32AP
> -	default n
> -	help
> -	  This enables the CPU frequency driver for AT32AP processors.
> -	  If in doubt, say N.
> -endif
> -

https://lkml.kernel.org/r/20180118200202.11883-1-clabbe.montjoie@gmail.com

-- 
viresh

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

* [PATCH v2 03/20] kconfig: Remove leftover references to AVR32 symbol
  2018-02-05  4:05   ` Viresh Kumar
@ 2018-02-05  4:44     ` Ulf Magnusson
  0 siblings, 0 replies; 4+ messages in thread
From: Ulf Magnusson @ 2018-02-05  4:44 UTC (permalink / raw)
  To: linux-kernel
  Cc: linux-kbuild, tfiga, paul.burton, m.szyprowski, egtvedt,
	linus.walleij, vgupta, mgorman, hch, mina86, robh, sboyd, paulus,
	will.deacon, tony, npiggin, yamada.masahiro, ulfalizer, rjw,
	viresh.kumar, thierry.reding, broonie, b.zolnierkie, seanpaul,
	daniel.vetter, christophe.leroy, linux-pm, linux-pwm, linux-spi,
	dri-devel, linux-fbdev

The AVR32 symbol was removed in commit 26202873bb51 ("avr32: remove
support for AVR32 architecture"). Remove the remaining references to it
from the Kconfig files.

Signed-off-by: Ulf Magnusson <ulfalizer@gmail.com>
---
Changes in v2:
Removal of AVR32_AT32AP_CPUFREQ is already pending in
https://marc.info/?i=20180118200202.11883-1-clabbe.montjoie%40gmail.com (which
also does it properly -- I forgot to search for related files here). Just
remove the other references.

 drivers/pwm/Kconfig           | 2 +-
 drivers/spi/Kconfig           | 2 +-
 drivers/video/console/Kconfig | 2 +-
 3 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/drivers/pwm/Kconfig b/drivers/pwm/Kconfig
index 763ee50ea57d..f16aad3bf5d6 100644
--- a/drivers/pwm/Kconfig
+++ b/drivers/pwm/Kconfig
@@ -43,7 +43,7 @@ config PWM_AB8500
 
 config PWM_ATMEL
 	tristate "Atmel PWM support"
-	depends on ARCH_AT91 || AVR32
+	depends on ARCH_AT91
 	help
 	  Generic PWM framework driver for Atmel SoC.
 
diff --git a/drivers/spi/Kconfig b/drivers/spi/Kconfig
index 603783976b81..c1e455d46c7f 100644
--- a/drivers/spi/Kconfig
+++ b/drivers/spi/Kconfig
@@ -72,7 +72,7 @@ config SPI_ARMADA_3700
 config SPI_ATMEL
 	tristate "Atmel SPI Controller"
 	depends on HAS_DMA
-	depends on (ARCH_AT91 || AVR32 || COMPILE_TEST)
+	depends on (ARCH_AT91 || COMPILE_TEST)
 	help
 	  This selects a driver for the Atmel SPI Controller, present on
 	  many AT32 (AVR32) and AT91 (ARM) chips.
diff --git a/drivers/video/console/Kconfig b/drivers/video/console/Kconfig
index 7f1f1fbcef9e..be63759b6027 100644
--- a/drivers/video/console/Kconfig
+++ b/drivers/video/console/Kconfig
@@ -7,7 +7,7 @@ menu "Console display driver support"
 config VGA_CONSOLE
 	bool "VGA text console" if EXPERT || !X86
 	depends on !4xx && !PPC_8xx && !SPARC && !M68K && !PARISC && !FRV && \
-		!SUPERH && !BLACKFIN && !AVR32 && !MN10300 && !CRIS && \
+		!SUPERH && !BLACKFIN && !MN10300 && !CRIS && \
 		(!ARM || ARCH_FOOTBRIDGE || ARCH_INTEGRATOR || ARCH_NETWINDER) && \
 		!ARM64 && !ARC && !MICROBLAZE && !OPENRISC
 	default y
-- 
2.14.1

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

* Re: [PATCH v2 03/20] kconfig: Remove leftover references to AVR32 symbol
@ 2018-02-05  8:11 Corentin Labbe
  0 siblings, 0 replies; 4+ messages in thread
From: Corentin Labbe @ 2018-02-05  8:11 UTC (permalink / raw)
  To: ulfalizer; +Cc: linux-kernel, linux-pwm, thierry.reding, matthias.bgg

Hello

This conflict also with https://lkml.org/lkml/2018/1/18/699

Regards

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

end of thread, other threads:[~2018-02-05  8:11 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <20180205012146.23981-1-ulfalizer@gmail.com>
2018-02-05  1:21 ` [PATCH 03/20] kconfig: Remove leftover references to AVR32 symbol Ulf Magnusson
2018-02-05  4:05   ` Viresh Kumar
2018-02-05  4:44     ` [PATCH v2 " Ulf Magnusson
2018-02-05  8:11 Corentin Labbe

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).