Re: [PATCH 2/2] ACPI: ac: fixed indentation, commenting and linelength coding style issues

From: Pavel Machek
Date: Fri Apr 15 2011 - 12:30:10 EST


Hi!

> Fixed coding style issues.
>
> Signed-off-by: Timothy Courrejou <timcour@xxxxxxxxx>
> ---
> drivers/acpi/ac.c | 36 ++++++++++++++++++------------------
> 1 files changed, 18 insertions(+), 18 deletions(-)
>
> diff --git a/drivers/acpi/ac.c b/drivers/acpi/ac.c
> index 183a035..58c3f74 100644
> --- a/drivers/acpi/ac.c
> +++ b/drivers/acpi/ac.c
> @@ -85,7 +85,7 @@ static struct acpi_driver acpi_ac_driver = {
>
> struct acpi_ac {
> struct power_supply charger;
> - struct acpi_device *device;
> + struct acpi_device * device;
> unsigned long long state;

This _adds_ coding style issue.


> };
>
> @@ -101,9 +101,10 @@ static const struct file_operations acpi_ac_fops = {
> };
> #endif
>
> -/*
> - * AC Adapter Management
> - */
> +/* --------------------------------------------------------------------------
> + AC Adapter Management
> + -------------------------------------------------------------------------- */
> +
> static int acpi_ac_get_state(struct acpi_ac *ac)
> {
> acpi_status status = AE_OK;

Reversed patch?
Pavel

--
(english) http://www.livejournal.com/~pavelmachek
(cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html
--
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/