All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 1/3] ARM: S3C24XX: Remove invalid code from hardware.h
@ 2014-01-03  9:24 Sachin Kamat
  2014-01-03  9:24 ` [PATCH 2/3] ARM: SAMSUNG: Remove hardware.h inclusion Sachin Kamat
                   ` (2 more replies)
  0 siblings, 3 replies; 5+ messages in thread
From: Sachin Kamat @ 2014-01-03  9:24 UTC (permalink / raw)
  To: linux-samsung-soc; +Cc: kgene.kim, sachin.kamat, patches

Remove the code that is not referenced anywhere. While at it also
remove incorrect file path.

Signed-off-by: Sachin Kamat <sachin.kamat@linaro.org>
---
 arch/arm/mach-s3c24xx/include/mach/hardware.h |   14 +-------------
 1 file changed, 1 insertion(+), 13 deletions(-)

diff --git a/arch/arm/mach-s3c24xx/include/mach/hardware.h b/arch/arm/mach-s3c24xx/include/mach/hardware.h
index a6cc14a092fc..dedd3837c193 100644
--- a/arch/arm/mach-s3c24xx/include/mach/hardware.h
+++ b/arch/arm/mach-s3c24xx/include/mach/hardware.h
@@ -1,5 +1,4 @@
-/* arch/arm/mach-s3c2410/include/mach/hardware.h
- *
+/*
  * Copyright (c) 2003 Simtec Electronics
  *	Ben Dooks <ben@simtec.co.uk>
  *
@@ -17,20 +16,9 @@
 
 extern unsigned int s3c2410_modify_misccr(unsigned int clr, unsigned int chg);
 
-#ifdef CONFIG_CPU_S3C2440
-
-extern int s3c2440_set_dsc(unsigned int pin, unsigned int value);
-
-#endif /* CONFIG_CPU_S3C2440 */
-
 #endif /* __ASSEMBLY__ */
 
 #include <asm/sizes.h>
 #include <mach/map.h>
 
-/* machine specific hardware definitions should go after this */
-
-/* currently here until moved into config (todo) */
-#define CONFIG_NO_MULTIWORD_IO
-
 #endif /* __ASM_ARCH_HARDWARE_H */
-- 
1.7.9.5

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

* [PATCH 2/3] ARM: SAMSUNG: Remove hardware.h inclusion
  2014-01-03  9:24 [PATCH 1/3] ARM: S3C24XX: Remove invalid code from hardware.h Sachin Kamat
@ 2014-01-03  9:24 ` Sachin Kamat
  2014-01-03  9:24 ` [PATCH 3/3] ARM: EXYNOS: Remove hardware.h file Sachin Kamat
  2014-03-19  5:07 ` [PATCH 1/3] ARM: S3C24XX: Remove invalid code from hardware.h Sachin Kamat
  2 siblings, 0 replies; 5+ messages in thread
From: Sachin Kamat @ 2014-01-03  9:24 UTC (permalink / raw)
  To: linux-samsung-soc; +Cc: kgene.kim, sachin.kamat, patches

The contents of this header file are not referenced anywhere in the
included .c files except in devs.c. Remove its inclusion. For devs.c,
explicitly include sizes.h header for SZ_* macros.

Signed-off-by: Sachin Kamat <sachin.kamat@linaro.org>
---
 arch/arm/plat-samsung/clock.c        |    1 -
 arch/arm/plat-samsung/devs.c         |    2 +-
 arch/arm/plat-samsung/init.c         |    2 --
 arch/arm/plat-samsung/pm.c           |    1 -
 arch/arm/plat-samsung/s5p-dev-uart.c |    1 -
 5 files changed, 1 insertion(+), 6 deletions(-)

diff --git a/arch/arm/plat-samsung/clock.c b/arch/arm/plat-samsung/clock.c
index 494deadb4602..179bdc17b667 100644
--- a/arch/arm/plat-samsung/clock.c
+++ b/arch/arm/plat-samsung/clock.c
@@ -42,7 +42,6 @@
 #include <linux/debugfs.h>
 #endif
 
-#include <mach/hardware.h>
 #include <asm/irq.h>
 
 #include <plat/cpu-freq.h>
diff --git a/arch/arm/plat-samsung/devs.c b/arch/arm/plat-samsung/devs.c
index 78460f836e89..7a29f1256439 100644
--- a/arch/arm/plat-samsung/devs.c
+++ b/arch/arm/plat-samsung/devs.c
@@ -30,6 +30,7 @@
 #include <linux/mtd/partitions.h>
 #include <linux/mmc/host.h>
 #include <linux/ioport.h>
+#include <linux/sizes.h>
 #include <linux/platform_data/s3c-hsudc.h>
 #include <linux/platform_data/s3c-hsotg.h>
 #include <linux/platform_data/dma-s3c24xx.h>
@@ -41,7 +42,6 @@
 #include <asm/mach/map.h>
 #include <asm/mach/irq.h>
 
-#include <mach/hardware.h>
 #include <mach/dma.h>
 #include <mach/irqs.h>
 #include <mach/map.h>
diff --git a/arch/arm/plat-samsung/init.c b/arch/arm/plat-samsung/init.c
index e63e3cea9dac..9183ded63552 100644
--- a/arch/arm/plat-samsung/init.c
+++ b/arch/arm/plat-samsung/init.c
@@ -23,8 +23,6 @@
 #include <linux/platform_device.h>
 #include <linux/of.h>
 
-#include <mach/hardware.h>
-
 #include <asm/mach/arch.h>
 #include <asm/mach/map.h>
 
diff --git a/arch/arm/plat-samsung/pm.c b/arch/arm/plat-samsung/pm.c
index 72e8e8f234f4..0f70339d60da 100644
--- a/arch/arm/plat-samsung/pm.c
+++ b/arch/arm/plat-samsung/pm.c
@@ -25,7 +25,6 @@
 #include <plat/regs-serial.h>
 
 #ifdef CONFIG_SAMSUNG_ATAGS
-#include <mach/hardware.h>
 #include <mach/map.h>
 #ifndef CONFIG_ARCH_EXYNOS
 #include <mach/regs-clock.h>
diff --git a/arch/arm/plat-samsung/s5p-dev-uart.c b/arch/arm/plat-samsung/s5p-dev-uart.c
index cafa3deddcc1..8c4487af98c8 100644
--- a/arch/arm/plat-samsung/s5p-dev-uart.c
+++ b/arch/arm/plat-samsung/s5p-dev-uart.c
@@ -18,7 +18,6 @@
 
 #include <asm/mach/arch.h>
 #include <asm/mach/irq.h>
-#include <mach/hardware.h>
 #include <mach/map.h>
 
 #include <plat/devs.h>
-- 
1.7.9.5

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

* [PATCH 3/3] ARM: EXYNOS: Remove hardware.h file
  2014-01-03  9:24 [PATCH 1/3] ARM: S3C24XX: Remove invalid code from hardware.h Sachin Kamat
  2014-01-03  9:24 ` [PATCH 2/3] ARM: SAMSUNG: Remove hardware.h inclusion Sachin Kamat
@ 2014-01-03  9:24 ` Sachin Kamat
  2014-03-19  5:07 ` [PATCH 1/3] ARM: S3C24XX: Remove invalid code from hardware.h Sachin Kamat
  2 siblings, 0 replies; 5+ messages in thread
From: Sachin Kamat @ 2014-01-03  9:24 UTC (permalink / raw)
  To: linux-samsung-soc; +Cc: kgene.kim, sachin.kamat, patches

This is a dummy placeholder file. Delete it.

Signed-off-by: Sachin Kamat <sachin.kamat@linaro.org>
---
 arch/arm/mach-exynos/include/mach/hardware.h |   18 ------------------
 arch/arm/mach-exynos/platsmp.c               |    2 --
 2 files changed, 20 deletions(-)
 delete mode 100644 arch/arm/mach-exynos/include/mach/hardware.h

diff --git a/arch/arm/mach-exynos/include/mach/hardware.h b/arch/arm/mach-exynos/include/mach/hardware.h
deleted file mode 100644
index 5109eb232f23..000000000000
--- a/arch/arm/mach-exynos/include/mach/hardware.h
+++ /dev/null
@@ -1,18 +0,0 @@
-/* linux/arch/arm/mach-exynos4/include/mach/hardware.h
- *
- * Copyright (c) 2010-2011 Samsung Electronics Co., Ltd.
- *		http://www.samsung.com
- *
- * EXYNOS4 - Hardware support
- *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License version 2 as
- * published by the Free Software Foundation.
-*/
-
-#ifndef __ASM_ARCH_HARDWARE_H
-#define __ASM_ARCH_HARDWARE_H __FILE__
-
-/* currently nothing here, placeholder */
-
-#endif /* __ASM_ARCH_HARDWARE_H */
diff --git a/arch/arm/mach-exynos/platsmp.c b/arch/arm/mach-exynos/platsmp.c
index b681f899511d..7197d9ab9fcc 100644
--- a/arch/arm/mach-exynos/platsmp.c
+++ b/arch/arm/mach-exynos/platsmp.c
@@ -26,8 +26,6 @@
 #include <asm/smp_scu.h>
 #include <asm/firmware.h>
 
-#include <mach/hardware.h>
-
 #include <plat/cpu.h>
 
 #include "common.h"
-- 
1.7.9.5

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

* Re: [PATCH 1/3] ARM: S3C24XX: Remove invalid code from hardware.h
  2014-01-03  9:24 [PATCH 1/3] ARM: S3C24XX: Remove invalid code from hardware.h Sachin Kamat
  2014-01-03  9:24 ` [PATCH 2/3] ARM: SAMSUNG: Remove hardware.h inclusion Sachin Kamat
  2014-01-03  9:24 ` [PATCH 3/3] ARM: EXYNOS: Remove hardware.h file Sachin Kamat
@ 2014-03-19  5:07 ` Sachin Kamat
  2014-03-20 19:51   ` Kukjin Kim
  2 siblings, 1 reply; 5+ messages in thread
From: Sachin Kamat @ 2014-03-19  5:07 UTC (permalink / raw)
  To: linux-samsung-soc; +Cc: Kukjin Kim, Sachin Kamat

On 3 January 2014 14:54, Sachin Kamat <sachin.kamat@linaro.org> wrote:
> Remove the code that is not referenced anywhere. While at it also
> remove incorrect file path.
>
> Signed-off-by: Sachin Kamat <sachin.kamat@linaro.org>
> ---

Gentle ping on this series, Kukjin.


-- 
With warm regards,
Sachin

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

* Re: [PATCH 1/3] ARM: S3C24XX: Remove invalid code from hardware.h
  2014-03-19  5:07 ` [PATCH 1/3] ARM: S3C24XX: Remove invalid code from hardware.h Sachin Kamat
@ 2014-03-20 19:51   ` Kukjin Kim
  0 siblings, 0 replies; 5+ messages in thread
From: Kukjin Kim @ 2014-03-20 19:51 UTC (permalink / raw)
  To: Sachin Kamat; +Cc: linux-samsung-soc, Kukjin Kim

On 03/19/14 14:07, Sachin Kamat wrote:
> On 3 January 2014 14:54, Sachin Kamat<sachin.kamat@linaro.org>  wrote:
>> Remove the code that is not referenced anywhere. While at it also
>> remove incorrect file path.
>>
>> Signed-off-by: Sachin Kamat<sachin.kamat@linaro.org>
>> ---
>
> Gentle ping on this series, Kukjin.
>
OK, applied this whole series.

Thanks,
Kukjin

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

end of thread, other threads:[~2014-03-20 19:51 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-01-03  9:24 [PATCH 1/3] ARM: S3C24XX: Remove invalid code from hardware.h Sachin Kamat
2014-01-03  9:24 ` [PATCH 2/3] ARM: SAMSUNG: Remove hardware.h inclusion Sachin Kamat
2014-01-03  9:24 ` [PATCH 3/3] ARM: EXYNOS: Remove hardware.h file Sachin Kamat
2014-03-19  5:07 ` [PATCH 1/3] ARM: S3C24XX: Remove invalid code from hardware.h Sachin Kamat
2014-03-20 19:51   ` Kukjin Kim

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.