Re: acpi: trivial cleanups

Andrew Morton
2008-08-12T23:20:29Z

On Tue, 12 Aug 2008 12:24:34 +0200
Pavel Machek <pavel@suse.cz> wrote:

>
> Trivial cleanups for ACPI. Fix misspelling in printk(), fix mismerge,
> add file header.
>
>
> --- a/drivers/acpi/processor_core.c
> +++ b/drivers/acpi/processor_core.c
> @@ -123,7 +123,7 @@ struct acpi_processor_errata errata __re
> static int set_no_mwait(const struct dmi_system_id *id)
> {
> printk(KERN_NOTICE PREFIX "%s detected - "
> - "disable mwait for CPU C-stetes\n", id->ident);
> + "disabling mwait for CPU C-states\n", id->ident);
> idle_nomwait = 1;
> return 0;

OK

> diff --git a/drivers/acpi/processor_idle.c b/drivers/acpi/processor_idle.c
> index 283c08f..cf5b1b7 100644
> --- a/drivers/acpi/processor_idle.c
> +++ b/drivers/acpi/processor_idle.c
> @@ -41,7 +41,6 @@ #include <linux/sched.h> /* need_resched
> #include <linux/pm_qos_params.h>
> #include <linux/clockchips.h>
> #include <linux/cpuidle.h>
> -#include <linux/cpuidle.h>

OK

> /*
> * Include the apic definitions for x86 to have the APIC timer related defines
> diff --git a/drivers/acpi/reboot.c b/drivers/acpi/reboot.c
> index a6b662c..b4d9cb3 100644
> --- a/drivers/acpi/reboot.c
> +++ b/drivers/acpi/reboot.c
> @@ -1,4 +1,8 @@
> -
> +/*
> + * Reset the machine using the RESET_REG
> + *
> + * Distribute under GPL.
> + */

That was a trivial dirtyup. Should at least be "Distributed under the
GPL" but I suspect that the policy in drivers/acpi/ is to add fancier
copyright text than this.