[PATCH] ARM: remove unused clkdev.h

Sascha Hauer s.hauer at pengutronix.de
Sun May 12 06:30:52 EDT 2013


On Sun, May 12, 2013 at 10:56:59AM +0400, Antony Pavlov wrote:
> See also:
> 
>   commit eb84709192f1b616cd141594c34ddbc072c8d6ec
>   Author: Sascha Hauer <s.hauer at 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 at 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 at 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 |



More information about the barebox mailing list