[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20090901081342.GB9942@elf.ucw.cz>
Date: Tue, 1 Sep 2009 10:13:42 +0200
From: Pavel Machek <pavel@....cz>
To: Zhang Rui <rui.zhang@...el.com>
Cc: Len Brown <lenb@...nel.org>,
Linux Kernel Mailing List <linux-kernel@...r.kernel.org>,
linux-acpi <linux-acpi@...r.kernel.org>,
Greg KH <greg@...ah.com>,
Dmitry Torokhov <dmitry.torokhov@...il.com>
Subject: Re: [PATCH V6 2/2] introduce ACPI ALS device driver
Hi!
> ACPI spec defines ACPI Ambient Light Sensor device (hid ACPI0008),
> which provides a standard interface by which the OS may query properties
> of the ambient light environment the system is currently operating in,
> as well as the ability to detect meaningful changes in these values when
> the environment changes.
> +struct acpi_als {
> + struct acpi_device *device;
> + struct als_device *als_sys;
> + int illuminance;
> + int chromaticity;
> + int temperature;
> + int polling;
> + int count;
> + struct als_mapping *mappings;
> +};
chromaticity is write-only variable. I believe you can drop it and
associted code.
temperature ditto. Drop from this version?
polling ditto. Drop from this version?
Thanks,
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@...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