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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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-acpi" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux IBM ACPI]     [Linux Power Management]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Share Photos]     [Security]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]     [Linux Resources]

  Powered by Linux