* [PATCH] ARM: s3c24xx: remove unused header
@ 2012-06-07 14:15 Paul Bolle
2012-06-19 8:51 ` Kukjin Kim
0 siblings, 1 reply; 2+ messages in thread
From: Paul Bolle @ 2012-06-07 14:15 UTC (permalink / raw)
To: Ben Dooks, Kukjin Kim, Russell King
Cc: linux-arm-kernel, linux-samsung-soc, linux-kernel
Since (at least) v2.6.12-rc2 there has been a bast-pmu.h header in the
tree. Currently it can be found at
arch/arm/mach-s3c24xx/include/mach/bast-pmu.h.
It seems that during that entire period nothing included that header and
that none of the named constants it provided were ever used. That header
can safely be removed.
Signed-off-by: Paul Bolle <pebolle@tiscali.nl>
---
Tested with "git grep". But it's again hard to imagine how this could
break anything.
arch/arm/mach-s3c24xx/include/mach/bast-pmu.h | 40 -------------------------
1 files changed, 0 insertions(+), 40 deletions(-)
delete mode 100644 arch/arm/mach-s3c24xx/include/mach/bast-pmu.h
diff --git a/arch/arm/mach-s3c24xx/include/mach/bast-pmu.h b/arch/arm/mach-s3c24xx/include/mach/bast-pmu.h
deleted file mode 100644
index 4c38b39..0000000
--- a/arch/arm/mach-s3c24xx/include/mach/bast-pmu.h
+++ /dev/null
@@ -1,40 +0,0 @@
-/* arch/arm/mach-s3c2410/include/mach/bast-pmu.h
- *
- * Copyright (c) 2003-2004 Simtec Electronics
- * Ben Dooks <ben@simtec.co.uk>
- * Vincent Sanders <vince@simtec.co.uk>
- *
- * Machine BAST - Power Management chip
- *
- * 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_BASTPMU_H
-#define __ASM_ARCH_BASTPMU_H "08_OCT_2004"
-
-#define BASTPMU_REG_IDENT (0x00)
-#define BASTPMU_REG_VERSION (0x01)
-#define BASTPMU_REG_DDCCTRL (0x02)
-#define BASTPMU_REG_POWER (0x03)
-#define BASTPMU_REG_RESET (0x04)
-#define BASTPMU_REG_GWO (0x05)
-#define BASTPMU_REG_WOL (0x06)
-#define BASTPMU_REG_WOR (0x07)
-#define BASTPMU_REG_UID (0x09)
-
-#define BASTPMU_EEPROM (0xC0)
-
-#define BASTPMU_EEP_UID (BASTPMU_EEPROM + 0)
-#define BASTPMU_EEP_WOL (BASTPMU_EEPROM + 8)
-#define BASTPMU_EEP_WOR (BASTPMU_EEPROM + 9)
-
-#define BASTPMU_IDENT_0 0x53
-#define BASTPMU_IDENT_1 0x42
-#define BASTPMU_IDENT_2 0x50
-#define BASTPMU_IDENT_3 0x4d
-
-#define BASTPMU_RESET_GUARD (0x55)
-
-#endif /* __ASM_ARCH_BASTPMU_H */
--
1.7.7.6
^ permalink raw reply [flat|nested] 2+ messages in thread
* RE: [PATCH] ARM: s3c24xx: remove unused header
2012-06-07 14:15 [PATCH] ARM: s3c24xx: remove unused header Paul Bolle
@ 2012-06-19 8:51 ` Kukjin Kim
0 siblings, 0 replies; 2+ messages in thread
From: Kukjin Kim @ 2012-06-19 8:51 UTC (permalink / raw)
To: 'Paul Bolle', 'Ben Dooks', 'Russell King'
Cc: linux-arm-kernel, linux-samsung-soc, linux-kernel
Paul Bolle wrote:
>
> Since (at least) v2.6.12-rc2 there has been a bast-pmu.h header in the
> tree. Currently it can be found at
> arch/arm/mach-s3c24xx/include/mach/bast-pmu.h.
>
> It seems that during that entire period nothing included that header and
> that none of the named constants it provided were ever used. That header
> can safely be removed.
>
> Signed-off-by: Paul Bolle <pebolle@tiscali.nl>
> ---
> Tested with "git grep". But it's again hard to imagine how this could
> break anything.
>
> arch/arm/mach-s3c24xx/include/mach/bast-pmu.h | 40 ---------------------
> ----
> 1 files changed, 0 insertions(+), 40 deletions(-)
> delete mode 100644 arch/arm/mach-s3c24xx/include/mach/bast-pmu.h
>
> diff --git a/arch/arm/mach-s3c24xx/include/mach/bast-pmu.h
> b/arch/arm/mach-s3c24xx/include/mach/bast-pmu.h
> deleted file mode 100644
> index 4c38b39..0000000
> --- a/arch/arm/mach-s3c24xx/include/mach/bast-pmu.h
> +++ /dev/null
> @@ -1,40 +0,0 @@
> -/* arch/arm/mach-s3c2410/include/mach/bast-pmu.h
> - *
> - * Copyright (c) 2003-2004 Simtec Electronics
> - * Ben Dooks <ben@simtec.co.uk>
> - * Vincent Sanders <vince@simtec.co.uk>
> - *
> - * Machine BAST - Power Management chip
> - *
> - * 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_BASTPMU_H
> -#define __ASM_ARCH_BASTPMU_H "08_OCT_2004"
> -
> -#define BASTPMU_REG_IDENT (0x00)
> -#define BASTPMU_REG_VERSION (0x01)
> -#define BASTPMU_REG_DDCCTRL (0x02)
> -#define BASTPMU_REG_POWER (0x03)
> -#define BASTPMU_REG_RESET (0x04)
> -#define BASTPMU_REG_GWO (0x05)
> -#define BASTPMU_REG_WOL (0x06)
> -#define BASTPMU_REG_WOR (0x07)
> -#define BASTPMU_REG_UID (0x09)
> -
> -#define BASTPMU_EEPROM (0xC0)
> -
> -#define BASTPMU_EEP_UID (BASTPMU_EEPROM + 0)
> -#define BASTPMU_EEP_WOL (BASTPMU_EEPROM + 8)
> -#define BASTPMU_EEP_WOR (BASTPMU_EEPROM + 9)
> -
> -#define BASTPMU_IDENT_0 0x53
> -#define BASTPMU_IDENT_1 0x42
> -#define BASTPMU_IDENT_2 0x50
> -#define BASTPMU_IDENT_3 0x4d
> -
> -#define BASTPMU_RESET_GUARD (0x55)
> -
> -#endif /* __ASM_ARCH_BASTPMU_H */
> --
> 1.7.7.6
Yes, I think, no longer need above header. Will apply this into cleanup branch.
Thanks.
Best regards,
Kgene.
--
Kukjin Kim <kgene.kim@samsung.com>, Senior Engineer,
SW Solution Development Team, Samsung Electronics Co., Ltd.
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2012-06-19 8:51 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-06-07 14:15 [PATCH] ARM: s3c24xx: remove unused header Paul Bolle
2012-06-19 8:51 ` Kukjin Kim
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®