Re: [PATCH 1/6] ARM: cpuidle: Remove duplicate header inclusion

2015-03-13 Thread Lorenzo Pieralisi
On Tue, Mar 03, 2015 at 12:29:32PM +, Daniel Lezcano wrote: > 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

[PATCH 1/6] ARM: cpuidle: Remove duplicate header inclusion

2015-03-03 Thread Daniel Lezcano
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