Re: [PATCH 68/73] drivers/cpufreq: delete non-required instances of <linux/init.h>

From: Viresh Kumar
Date: Tue Jan 21 2014 - 23:59:46 EST


On 22 January 2014 02:53, Paul Gortmaker <paul.gortmaker@xxxxxxxxxxxxx> wrote:
> None of these files are actually using any __init type directives
> and hence don't need to include <linux/init.h>. Most are just a
> left over from __devinit and __cpuinit removal, or simply due to
> code getting copied from one driver to the next.
>
> Cc: Kevin Hilman <khilman@xxxxxxxxxxxxxxxxxxx>
> Cc: "Rafael J. Wysocki" <rjw@xxxxxxxxxxxxx>
> Cc: Viresh Kumar <viresh.kumar@xxxxxxxxxx>
> Cc: cpufreq@xxxxxxxxxxxxxxx
> Cc: linux-pm@xxxxxxxxxxxxxxx
> Signed-off-by: Paul Gortmaker <paul.gortmaker@xxxxxxxxxxxxx>
> ---
> drivers/cpufreq/omap-cpufreq.c | 1 -
> drivers/cpufreq/powernow-k8.c | 1 -
> drivers/cpufreq/s3c2412-cpufreq.c | 1 -
> drivers/cpufreq/s3c2440-cpufreq.c | 1 -
> drivers/cpufreq/spear-cpufreq.c | 1 -
> drivers/cpufreq/speedstep-lib.c | 1 -
> 6 files changed, 6 deletions(-)

We have discussed this in past where I pointed out this file is required
by stuff like module_init, what happened to that query ?
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/