linux-pm.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Mika Westerberg <mika.westerberg@linux.intel.com>
To: "Rafael J. Wysocki" <rjw@sisk.pl>
Cc: ACPI Devel Maling List <linux-acpi@vger.kernel.org>,
	LKML <linux-kernel@vger.kernel.org>,
	Linux PM list <linux-pm@vger.kernel.org>
Subject: Re: [PATCH] ACPI / PM: Fix header of acpi_dev_pm_detach() in acpi.h
Date: Wed, 5 Dec 2012 14:48:46 +0200	[thread overview]
Message-ID: <20121205124846.GV3117@intel.com> (raw)
In-Reply-To: <3898205.CQSHFfLUWL@vostro.rjw.lan>

On Wed, Dec 05, 2012 at 12:08:12PM +0100, Rafael J. Wysocki wrote:
> From: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
> 
> The header of acpi_dev_pm_detach() in include/linux/acpi.h has an
> incorrect return type, which should be void.  Fix that.
> 
> Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>

Reviewed-by: Mika Westerberg <mika.westerberg@linux.intel.com>

> ---
>  include/linux/acpi.h |    2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> Index: linux/include/linux/acpi.h
> ===================================================================
> --- linux.orig/include/linux/acpi.h
> +++ linux/include/linux/acpi.h
> @@ -506,7 +506,7 @@ static inline int acpi_subsys_resume_ear
>  
>  #if defined(CONFIG_ACPI) && defined(CONFIG_PM)
>  int acpi_dev_pm_attach(struct device *dev, bool power_on);
> -int acpi_dev_pm_detach(struct device *dev, bool power_off);
> +void acpi_dev_pm_detach(struct device *dev, bool power_off);
>  #else
>  static inline int acpi_dev_pm_attach(struct device *dev, bool power_on)
>  {

      reply	other threads:[~2012-12-05 12:48 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-12-05 11:08 [PATCH] ACPI / PM: Fix header of acpi_dev_pm_detach() in acpi.h Rafael J. Wysocki
2012-12-05 12:48 ` Mika Westerberg [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20121205124846.GV3117@intel.com \
    --to=mika.westerberg@linux.intel.com \
    --cc=linux-acpi@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-pm@vger.kernel.org \
    --cc=rjw@sisk.pl \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).