[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <5146CEBE.3070909@web.de>
Date: Mon, 18 Mar 2013 09:22:22 +0100
From: Danny Baumann <dannybaumann@....de>
To: Aaron Lu <aaron.lu@...el.com>
CC: linux-acpi@...r.kernel.org, linux-kernel@...r.kernel.org,
Zhang Rui <rui.zhang@...el.com>, Len Brown <lenb@...nel.org>
Subject: Re: [PATCH v2 1/3] ACPI video: Fix brightness control initialization
for some laptops.
Hi,
>> diff --git a/drivers/acpi/video.c b/drivers/acpi/video.c
>> index 313f959..9c33871 100644
>> --- a/drivers/acpi/video.c
>> +++ b/drivers/acpi/video.c
>> @@ -222,7 +222,7 @@ static int acpi_video_device_lcd_set_level(struct acpi_video_device *device,
>> int level);
>> static int acpi_video_device_lcd_get_level_current(
>> struct acpi_video_device *device,
>> - unsigned long long *level, int init);
>> + unsigned long long *level, int raw);
>
> Why not bool?
For two reasons:
- It previous was int ;-)
- It allowed the invocations of this function to fit within one 80-char
line.
Neither reason is terribly strong, so if you prefer, I can convert this
argument to bool.
Regards,
Danny
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists