From mboxrd@z Thu Jan 1 00:00:00 1970 From: Greg KH Subject: Re: [PATCH 1/6] ACPI: Provide /sys/devices/system/ec/ Date: Fri, 9 Jul 2010 12:18:25 -0700 Message-ID: <20100709191825.GB8989@kroah.com> References: <1277996570-2686-1-git-send-email-trenn@suse.de> <1277996570-2686-2-git-send-email-trenn@suse.de> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Received: from kroah.org ([198.145.64.141]:39825 "EHLO coco.kroah.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752029Ab0GITTm (ORCPT ); Fri, 9 Jul 2010 15:19:42 -0400 Content-Disposition: inline In-Reply-To: <1277996570-2686-2-git-send-email-trenn@suse.de> Sender: linux-acpi-owner@vger.kernel.org List-Id: linux-acpi@vger.kernel.org To: Thomas Renninger Cc: lenb@kernel.org, linux-kernel@vger.kernel.org, linux-acpi@vger.kernel.org, platform-driver-x86@vger.kernel.org, astarikovskiy@suse.de, Bjorn Helgaas On Thu, Jul 01, 2010 at 05:02:45PM +0200, Thomas Renninger wrote: > This patch provides the same information through sysfs, which previously was > provided through /proc/acpi/embedded_controller/*/info > > Signed-off-by: Thomas Renninger > > CC: Alexey Starikovskiy > CC: Len Brown > CC: linux-kernel@vger.kernel.org > CC: linux-acpi@vger.kernel.org > CC: Bjorn Helgaas > CC: platform-driver-x86@vger.kernel.org > > Index: linux-2.6.34-master/drivers/acpi/Kconfig > =================================================================== > --- > drivers/acpi/Kconfig | 13 +++++++ > drivers/acpi/Makefile | 1 + > drivers/acpi/ec.c | 18 +++------- > drivers/acpi/ec_sys.c | 92 +++++++++++++++++++++++++++++++++++++++++++++++ > drivers/acpi/internal.h | 24 ++++++++++++ > 5 files changed, 135 insertions(+), 13 deletions(-) > create mode 100644 drivers/acpi/ec_sys.c > > diff --git a/drivers/acpi/Kconfig b/drivers/acpi/Kconfig > index 7464115..f13708a 100644 > --- a/drivers/acpi/Kconfig > +++ b/drivers/acpi/Kconfig > @@ -104,6 +104,19 @@ config ACPI_SYSFS_POWER > help > Say N to disable power /sys interface > > +config ACPI_EC_SYSFS > + tristate "EC read/write access through sysfs" As you are adding new sysfs files, please document them in Documentation/ABI/ thanks, greg k-h