ARM: cpuidle: Remove duplicate header inclusion
authorDaniel Lezcano <daniel.lezcano@linaro.org>
Mon, 2 Feb 2015 15:32:46 +0000 (16:32 +0100)
committerDaniel Lezcano <daniel.lezcano@linaro.org>
Mon, 23 Mar 2015 17:03:11 +0000 (18:03 +0100)
commiteeebc3bb4d5d7edb56cb594e8f0ec2cfb10c2518
tree4f04e34ba4619295f40b0bab0dd399650b32a2a6
parentbc465aa9d045feb0e13b4a8f32cc33c1943f62d6
ARM: cpuidle: Remove duplicate header inclusion

The cpu_do_idle() function is always used by the cpuidle drivers.

That led to have each driver including cpuidle.h and proc-fns.h, they are
always paired. That makes a lot of duplicate headers inclusion. Instead of
including both in each .c file, move the proc-fns.h header inclusion in the
cpuidle.h header file directly, so we can save some line of code.

Signed-off-by: Daniel Lezcano <daniel.lezcano@linaro.org>
Acked-by: Kevin Hilman <khilman@linaro.org>
Acked-by: Lorenzo Pieralisi <lorenzo.pieralisi@arm.com>
Tested-by: Lorenzo Pieralisi <lorenzo.pieralisi@arm.com>
15 files changed:
arch/arm/include/asm/cpuidle.h
arch/arm/kernel/cpuidle.c
arch/arm/mach-davinci/cpuidle.c
arch/arm/mach-imx/cpuidle-imx6q.c
arch/arm/mach-imx/cpuidle-imx6sl.c
arch/arm/mach-imx/cpuidle-imx6sx.c
arch/arm/mach-omap2/cpuidle44xx.c
arch/arm/mach-s3c64xx/cpuidle.c
arch/arm/mach-tegra/cpuidle-tegra20.c
arch/arm/mach-tegra/cpuidle-tegra30.c
drivers/cpuidle/cpuidle-at91.c
drivers/cpuidle/cpuidle-exynos.c
drivers/cpuidle/cpuidle-kirkwood.c
drivers/cpuidle/cpuidle-ux500.c
drivers/cpuidle/cpuidle-zynq.c