From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755712Ab3AVXmy (ORCPT ); Tue, 22 Jan 2013 18:42:54 -0500 Received: from mail-pb0-f53.google.com ([209.85.160.53]:54894 "EHLO mail-pb0-f53.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751531Ab3AVXmw (ORCPT ); Tue, 22 Jan 2013 18:42:52 -0500 Date: Tue, 22 Jan 2013 15:42:48 -0800 From: Greg Kroah-Hartman To: "Rafael J. Wysocki" Cc: ACPI Devel Maling List , LKML , "Kristen C. Accardi" , Len Brown Subject: Re: [PATCH 1/4] ACPI / PM: Expose power states of ACPI devices to user space Message-ID: <20130122234248.GB694@kroah.com> References: <3307415.pdOY6ovZLa@vostro.rjw.lan> <4247313.2G7Z3nCgM0@vostro.rjw.lan> <2760421.6nE3tkh92K@vostro.rjw.lan> <4706454.hY2fLkUfhN@vostro.rjw.lan> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <4706454.hY2fLkUfhN@vostro.rjw.lan> User-Agent: Mutt/1.5.21 (2010-09-15) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, Jan 22, 2013 at 03:25:15AM +0100, Rafael J. Wysocki wrote: > From: Rafael J. Wysocki > > Make it possible to retrieve the current power state of a device with > ACPI power management from user space via sysfs by adding two new > attributes, power_state and real_power_state, to the sysfs directory > associated with the struct acpi_device object representing the > device's ACPI node. > > Signed-off-by: Rafael J. Wysocki Acked-by: Greg Kroah-Hartman