From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752543AbZHaIe5 (ORCPT ); Mon, 31 Aug 2009 04:34:57 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1751515AbZHaIe4 (ORCPT ); Mon, 31 Aug 2009 04:34:56 -0400 Received: from atrey.karlin.mff.cuni.cz ([195.113.26.193]:60057 "EHLO atrey.karlin.mff.cuni.cz" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751488AbZHaIe4 (ORCPT ); Mon, 31 Aug 2009 04:34:56 -0400 Date: Mon, 31 Aug 2009 10:34:49 +0200 From: Pavel Machek To: Zhang Rui Cc: Len Brown , linux-acpi , Linux Kernel Mailing List , Greg KH Subject: Re: [PATCH V5 1/2] introduce ALS sysfs class Message-ID: <20090831083449.GB11117@elf.ucw.cz> References: <1251706028.3483.160.camel@rzhang-dt> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1251706028.3483.160.camel@rzhang-dt> X-Warning: Reading this can be dangerous to your mental health. User-Agent: Mutt/1.5.18 (2008-05-17) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi! > @@ -0,0 +1,32 @@ > +What: /sys/class/als/als[0-N]/desc > +Date: Aug. 2009 > +KernelVersion: 2.6.32 > +Contact: Zhang Rui > +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