lkml.org 
[lkml]   [2010]   [Jul]   [9]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    Date
    From
    SubjectRe: [PATCH 1/6] ACPI: Provide /sys/devices/system/ec/
    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 <trenn@suse.de>
    >
    > CC: Alexey Starikovskiy <astarikovskiy@suse.de>
    > CC: Len Brown <lenb@kernel.org>
    > CC: linux-kernel@vger.kernel.org
    > CC: linux-acpi@vger.kernel.org
    > CC: Bjorn Helgaas <bjorn.helgaas@hp.com>
    > 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


    \
     
     \ /
      Last update: 2010-07-09 21:21    [W:0.020 / U:0.044 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site