mail archive of the barebox mailing list
 help / color / mirror / Atom feed
* [PATCH] ARM: remove unused clkdev.h
@ 2013-05-12  6:56 Antony Pavlov
  2013-05-12 10:30 ` Sascha Hauer
  0 siblings, 1 reply; 2+ messages in thread
From: Antony Pavlov @ 2013-05-12  6:56 UTC (permalink / raw)
  To: barebox

See also:

  commit eb84709192f1b616cd141594c34ddbc072c8d6ec
  Author: Sascha Hauer <s.hauer@pengutronix.de>
  Date:   Mon Mar 25 15:18:38 2013 +0100

      clk: remove unused __clk_[get|put]

      This is some unused code resulting from copying stuff from
      the kernel. Remove it.

Signed-off-by: Antony Pavlov <antonynpavlov@gmail.com>
---
 arch/arm/mach-tegra/include/mach/clkdev.h |    7 -------
 arch/arm/mach-zynq/include/mach/clkdev.h  |    6 ------
 2 files changed, 13 deletions(-)
 delete mode 100644 arch/arm/mach-tegra/include/mach/clkdev.h
 delete mode 100644 arch/arm/mach-zynq/include/mach/clkdev.h

diff --git a/arch/arm/mach-tegra/include/mach/clkdev.h b/arch/arm/mach-tegra/include/mach/clkdev.h
deleted file mode 100644
index 04b37a8..0000000
--- a/arch/arm/mach-tegra/include/mach/clkdev.h
+++ /dev/null
@@ -1,7 +0,0 @@
-#ifndef __ASM_MACH_CLKDEV_H
-#define __ASM_MACH_CLKDEV_H
-
-#define __clk_get(clk) ({ 1; })
-#define __clk_put(clk) do { } while (0)
-
-#endif
diff --git a/arch/arm/mach-zynq/include/mach/clkdev.h b/arch/arm/mach-zynq/include/mach/clkdev.h
deleted file mode 100644
index 31f7035..0000000
--- a/arch/arm/mach-zynq/include/mach/clkdev.h
+++ /dev/null
@@ -1,6 +0,0 @@
-#ifndef __ASM_MACH_CLKDEV_H
-#define __ASM_MACH_CLKDEV_H
-
-#define __clk_get(clk) ({ 1; })
-#define __clk_put(clk) do { } while (0)
-#endif
-- 
1.7.10.4


_______________________________________________
barebox mailing list
barebox@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox

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

* Re: [PATCH] ARM: remove unused clkdev.h
  2013-05-12  6:56 [PATCH] ARM: remove unused clkdev.h Antony Pavlov
@ 2013-05-12 10:30 ` Sascha Hauer
  0 siblings, 0 replies; 2+ messages in thread
From: Sascha Hauer @ 2013-05-12 10:30 UTC (permalink / raw)
  To: Antony Pavlov; +Cc: barebox

On Sun, May 12, 2013 at 10:56:59AM +0400, Antony Pavlov wrote:
> See also:
> 
>   commit eb84709192f1b616cd141594c34ddbc072c8d6ec
>   Author: Sascha Hauer <s.hauer@pengutronix.de>
>   Date:   Mon Mar 25 15:18:38 2013 +0100
> 
>       clk: remove unused __clk_[get|put]
> 
>       This is some unused code resulting from copying stuff from
>       the kernel. Remove it.
> 
> Signed-off-by: Antony Pavlov <antonynpavlov@gmail.com>

Applied, thanks

Sascha

> ---
>  arch/arm/mach-tegra/include/mach/clkdev.h |    7 -------
>  arch/arm/mach-zynq/include/mach/clkdev.h  |    6 ------
>  2 files changed, 13 deletions(-)
>  delete mode 100644 arch/arm/mach-tegra/include/mach/clkdev.h
>  delete mode 100644 arch/arm/mach-zynq/include/mach/clkdev.h
> 
> diff --git a/arch/arm/mach-tegra/include/mach/clkdev.h b/arch/arm/mach-tegra/include/mach/clkdev.h
> deleted file mode 100644
> index 04b37a8..0000000
> --- a/arch/arm/mach-tegra/include/mach/clkdev.h
> +++ /dev/null
> @@ -1,7 +0,0 @@
> -#ifndef __ASM_MACH_CLKDEV_H
> -#define __ASM_MACH_CLKDEV_H
> -
> -#define __clk_get(clk) ({ 1; })
> -#define __clk_put(clk) do { } while (0)
> -
> -#endif
> diff --git a/arch/arm/mach-zynq/include/mach/clkdev.h b/arch/arm/mach-zynq/include/mach/clkdev.h
> deleted file mode 100644
> index 31f7035..0000000
> --- a/arch/arm/mach-zynq/include/mach/clkdev.h
> +++ /dev/null
> @@ -1,6 +0,0 @@
> -#ifndef __ASM_MACH_CLKDEV_H
> -#define __ASM_MACH_CLKDEV_H
> -
> -#define __clk_get(clk) ({ 1; })
> -#define __clk_put(clk) do { } while (0)
> -#endif
> -- 
> 1.7.10.4
> 
> 
> _______________________________________________
> barebox mailing list
> barebox@lists.infradead.org
> http://lists.infradead.org/mailman/listinfo/barebox
> 

-- 
Pengutronix e.K.                           |                             |
Industrial Linux Solutions                 | http://www.pengutronix.de/  |
Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0    |
Amtsgericht Hildesheim, HRA 2686           | Fax:   +49-5121-206917-5555 |

_______________________________________________
barebox mailing list
barebox@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox

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

end of thread, other threads:[~2013-05-12 10:31 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-05-12  6:56 [PATCH] ARM: remove unused clkdev.h Antony Pavlov
2013-05-12 10:30 ` Sascha Hauer

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox