All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] avr32: remove fake at91 cpu identification
@ 2015-01-11  2:00 ` Alexandre Belloni
  0 siblings, 0 replies; 6+ messages in thread
From: Alexandre Belloni @ 2015-01-11  2:00 UTC (permalink / raw)
  To: Hans-Christian Egtvedt
  Cc: Haavard Skinnemoen, Nicolas Ferre, linux-arm-kernel,
	linux-kernel, Alexandre Belloni

cpu_is_at91* are not used in any driver outside mach-at91. Remove those useless
definitions.

Signed-off-by: Alexandre Belloni <alexandre.belloni@free-electrons.com>
---

Hans-Christian,

If you want, I guess that one could go through the at91 tree. Unless you have
more material and you want to do a pull request for 3.20.

Regards,

 arch/avr32/mach-at32ap/include/mach/cpu.h | 26 +-------------------------
 1 file changed, 1 insertion(+), 25 deletions(-)

diff --git a/arch/avr32/mach-at32ap/include/mach/cpu.h b/arch/avr32/mach-at32ap/include/mach/cpu.h
index 16a24b14146c..4181086f4ddc 100644
--- a/arch/avr32/mach-at32ap/include/mach/cpu.h
+++ b/arch/avr32/mach-at32ap/include/mach/cpu.h
@@ -1,5 +1,5 @@
 /*
- * AVR32 and (fake) AT91 CPU identification
+ * AVR32 CPU identification
  *
  * Copyright (C) 2007 Atmel Corporation
  *
@@ -20,28 +20,4 @@
 # define cpu_is_at32ap7000()	(0)
 #endif
 
-/*
- * Since this is AVR32, we will never run on any AT91 CPU. But these
- * definitions may reduce clutter in common drivers.
- */
-#define cpu_is_at91rm9200()	(0)
-#define cpu_is_at91sam9xe()	(0)
-#define cpu_is_at91sam9260()	(0)
-#define cpu_is_at91sam9261()	(0)
-#define cpu_is_at91sam9263()	(0)
-#define cpu_is_at91sam9rl()	(0)
-#define cpu_is_at91sam9g10()	(0)
-#define cpu_is_at91sam9g20()	(0)
-#define cpu_is_at91sam9g45()	(0)
-#define cpu_is_at91sam9g45es()	(0)
-#define cpu_is_at91sam9m10()	(0)
-#define cpu_is_at91sam9g46()	(0)
-#define cpu_is_at91sam9m11()	(0)
-#define cpu_is_at91sam9x5()	(0)
-#define cpu_is_at91sam9g15()	(0)
-#define cpu_is_at91sam9g35()	(0)
-#define cpu_is_at91sam9x35()	(0)
-#define cpu_is_at91sam9g25()	(0)
-#define cpu_is_at91sam9x25()	(0)
-
 #endif /* __ASM_ARCH_CPU_H */
-- 
2.1.0


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

* [PATCH] avr32: remove fake at91 cpu identification
@ 2015-01-11  2:00 ` Alexandre Belloni
  0 siblings, 0 replies; 6+ messages in thread
From: Alexandre Belloni @ 2015-01-11  2:00 UTC (permalink / raw)
  To: linux-arm-kernel

cpu_is_at91* are not used in any driver outside mach-at91. Remove those useless
definitions.

Signed-off-by: Alexandre Belloni <alexandre.belloni@free-electrons.com>
---

Hans-Christian,

If you want, I guess that one could go through the at91 tree. Unless you have
more material and you want to do a pull request for 3.20.

Regards,

 arch/avr32/mach-at32ap/include/mach/cpu.h | 26 +-------------------------
 1 file changed, 1 insertion(+), 25 deletions(-)

diff --git a/arch/avr32/mach-at32ap/include/mach/cpu.h b/arch/avr32/mach-at32ap/include/mach/cpu.h
index 16a24b14146c..4181086f4ddc 100644
--- a/arch/avr32/mach-at32ap/include/mach/cpu.h
+++ b/arch/avr32/mach-at32ap/include/mach/cpu.h
@@ -1,5 +1,5 @@
 /*
- * AVR32 and (fake) AT91 CPU identification
+ * AVR32 CPU identification
  *
  * Copyright (C) 2007 Atmel Corporation
  *
@@ -20,28 +20,4 @@
 # define cpu_is_at32ap7000()	(0)
 #endif
 
-/*
- * Since this is AVR32, we will never run on any AT91 CPU. But these
- * definitions may reduce clutter in common drivers.
- */
-#define cpu_is_at91rm9200()	(0)
-#define cpu_is_at91sam9xe()	(0)
-#define cpu_is_at91sam9260()	(0)
-#define cpu_is_at91sam9261()	(0)
-#define cpu_is_at91sam9263()	(0)
-#define cpu_is_at91sam9rl()	(0)
-#define cpu_is_at91sam9g10()	(0)
-#define cpu_is_at91sam9g20()	(0)
-#define cpu_is_at91sam9g45()	(0)
-#define cpu_is_at91sam9g45es()	(0)
-#define cpu_is_at91sam9m10()	(0)
-#define cpu_is_at91sam9g46()	(0)
-#define cpu_is_at91sam9m11()	(0)
-#define cpu_is_at91sam9x5()	(0)
-#define cpu_is_at91sam9g15()	(0)
-#define cpu_is_at91sam9g35()	(0)
-#define cpu_is_at91sam9x35()	(0)
-#define cpu_is_at91sam9g25()	(0)
-#define cpu_is_at91sam9x25()	(0)
-
 #endif /* __ASM_ARCH_CPU_H */
-- 
2.1.0

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

* Re: [PATCH] avr32: remove fake at91 cpu identification
  2015-01-11  2:00 ` Alexandre Belloni
@ 2015-01-11 12:10   ` Hans-Christian Egtvedt
  -1 siblings, 0 replies; 6+ messages in thread
From: Hans-Christian Egtvedt @ 2015-01-11 12:10 UTC (permalink / raw)
  To: Alexandre Belloni
  Cc: Haavard Skinnemoen, Nicolas Ferre, linux-arm-kernel, linux-kernel

Around Sun 11 Jan 2015 03:00:16 +0100 or thereabout, Alexandre Belloni wrote:
> cpu_is_at91* are not used in any driver outside mach-at91. Remove those useless
> definitions.

Great, thank you for cleaning.

> Signed-off-by: Alexandre Belloni <alexandre.belloni@free-electrons.com>
>

Acked-by: Hans-Chrisitan Egtvedt <egtvedt@samfundet.no>

> ---
> 
> Hans-Christian,
> 
> If you want, I guess that one could go through the at91 tree. Unless you have
> more material and you want to do a pull request for 3.20.

I have another patch in the pipe wiring up syscalls for AVR32, so I'll push
this through my tree for 3.20.

>  arch/avr32/mach-at32ap/include/mach/cpu.h | 26 +-------------------------
>  1 file changed, 1 insertion(+), 25 deletions(-)

<snipp diff>

-- 
HcE

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

* [PATCH] avr32: remove fake at91 cpu identification
@ 2015-01-11 12:10   ` Hans-Christian Egtvedt
  0 siblings, 0 replies; 6+ messages in thread
From: Hans-Christian Egtvedt @ 2015-01-11 12:10 UTC (permalink / raw)
  To: linux-arm-kernel

Around Sun 11 Jan 2015 03:00:16 +0100 or thereabout, Alexandre Belloni wrote:
> cpu_is_at91* are not used in any driver outside mach-at91. Remove those useless
> definitions.

Great, thank you for cleaning.

> Signed-off-by: Alexandre Belloni <alexandre.belloni@free-electrons.com>
>

Acked-by: Hans-Chrisitan Egtvedt <egtvedt@samfundet.no>

> ---
> 
> Hans-Christian,
> 
> If you want, I guess that one could go through the at91 tree. Unless you have
> more material and you want to do a pull request for 3.20.

I have another patch in the pipe wiring up syscalls for AVR32, so I'll push
this through my tree for 3.20.

>  arch/avr32/mach-at32ap/include/mach/cpu.h | 26 +-------------------------
>  1 file changed, 1 insertion(+), 25 deletions(-)

<snipp diff>

-- 
HcE

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

* Re: [PATCH] avr32: remove fake at91 cpu identification
  2015-01-11 12:10   ` Hans-Christian Egtvedt
@ 2015-01-12  8:55     ` Nicolas Ferre
  -1 siblings, 0 replies; 6+ messages in thread
From: Nicolas Ferre @ 2015-01-12  8:55 UTC (permalink / raw)
  To: Hans-Christian Egtvedt, Alexandre Belloni
  Cc: Haavard Skinnemoen, linux-arm-kernel, linux-kernel

Le 11/01/2015 13:10, Hans-Christian Egtvedt a écrit :
> Around Sun 11 Jan 2015 03:00:16 +0100 or thereabout, Alexandre Belloni wrote:
>> cpu_is_at91* are not used in any driver outside mach-at91. Remove those useless
>> definitions.
> 
> Great, thank you for cleaning.
> 
>> Signed-off-by: Alexandre Belloni <alexandre.belloni@free-electrons.com>
>>
> 
> Acked-by: Hans-Chrisitan Egtvedt <egtvedt@samfundet.no>
> 
>> ---
>>
>> Hans-Christian,
>>
>> If you want, I guess that one could go through the at91 tree. Unless you have
>> more material and you want to do a pull request for 3.20.
> 
> I have another patch in the pipe wiring up syscalls for AVR32, so I'll push
> this through my tree for 3.20.

Okay, so you can add my:
Acked-by: Nicolas Ferre <nicolas.ferre@atmel.com>

Bye,

>>  arch/avr32/mach-at32ap/include/mach/cpu.h | 26 +-------------------------
>>  1 file changed, 1 insertion(+), 25 deletions(-)
> 
> <snipp diff>
> 


-- 
Nicolas Ferre

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

* [PATCH] avr32: remove fake at91 cpu identification
@ 2015-01-12  8:55     ` Nicolas Ferre
  0 siblings, 0 replies; 6+ messages in thread
From: Nicolas Ferre @ 2015-01-12  8:55 UTC (permalink / raw)
  To: linux-arm-kernel

Le 11/01/2015 13:10, Hans-Christian Egtvedt a ?crit :
> Around Sun 11 Jan 2015 03:00:16 +0100 or thereabout, Alexandre Belloni wrote:
>> cpu_is_at91* are not used in any driver outside mach-at91. Remove those useless
>> definitions.
> 
> Great, thank you for cleaning.
> 
>> Signed-off-by: Alexandre Belloni <alexandre.belloni@free-electrons.com>
>>
> 
> Acked-by: Hans-Chrisitan Egtvedt <egtvedt@samfundet.no>
> 
>> ---
>>
>> Hans-Christian,
>>
>> If you want, I guess that one could go through the at91 tree. Unless you have
>> more material and you want to do a pull request for 3.20.
> 
> I have another patch in the pipe wiring up syscalls for AVR32, so I'll push
> this through my tree for 3.20.

Okay, so you can add my:
Acked-by: Nicolas Ferre <nicolas.ferre@atmel.com>

Bye,

>>  arch/avr32/mach-at32ap/include/mach/cpu.h | 26 +-------------------------
>>  1 file changed, 1 insertion(+), 25 deletions(-)
> 
> <snipp diff>
> 


-- 
Nicolas Ferre

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

end of thread, other threads:[~2015-01-12  8:55 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-01-11  2:00 [PATCH] avr32: remove fake at91 cpu identification Alexandre Belloni
2015-01-11  2:00 ` Alexandre Belloni
2015-01-11 12:10 ` Hans-Christian Egtvedt
2015-01-11 12:10   ` Hans-Christian Egtvedt
2015-01-12  8:55   ` Nicolas Ferre
2015-01-12  8:55     ` Nicolas Ferre

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.