lkml.org 
[lkml]   [2011]   [Apr]   [15]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH 2/2] ACPI: ac: fixed indentation, commenting and line length coding style issues
Hi!

> Fixed coding style issues.
>
> Signed-off-by: Timothy Courrejou <timcour@gmail.com>
> ---
> 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


\
 
 \ /
  Last update: 2011-04-15 18:33    [W:2.032 / U:0.100 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site