[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20090831083449.GB11117@elf.ucw.cz>
Date: Mon, 31 Aug 2009 10:34:49 +0200
From: Pavel Machek <pavel@....cz>
To: Zhang Rui <rui.zhang@...el.com>
Cc: Len Brown <lenb@...nel.org>,
linux-acpi <linux-acpi@...r.kernel.org>,
Linux Kernel Mailing List <linux-kernel@...r.kernel.org>,
Greg KH <greg@...ah.com>
Subject: Re: [PATCH V5 1/2] introduce ALS sysfs class
Hi!
> @@ -0,0 +1,32 @@
> +What: /sys/class/als/als[0-N]/desc
> +Date: Aug. 2009
> +KernelVersion: 2.6.32
> +Contact: Zhang Rui <rui.zhang@...el.com>
> +Description: Strings which descibes the current Ambient Light Sensor
> + device. This is given by native ALS driver as part of
> + registration. e.g: "acpi_als" for ACPI ALS devices.
> + RO
Normal way to do that (backlight class does it, for example) is to
have acpi_als instead of als0, and get rid of desc field.
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