All of lore.kernel.org
 help / color / mirror / Atom feed
From: Len Brown <lenb@kernel.org>
To: Henrique de Moraes Holschuh <hmh@hmh.eng.br>
Cc: linux-acpi@vger.kernel.org, ibm-acpi-devel@lists.sourceforge.net
Subject: Re: [PATCH] ACPI: ibm_acpi: allow clean removal
Date: Tue, 19 Dec 2006 23:13:27 -0500	[thread overview]
Message-ID: <200612192313.27202.lenb@kernel.org> (raw)
In-Reply-To: <20061218175332.8826.95334.stgit@thorin.khazad-dum.debian.net>

Applied.

thanks,
-Len

On Monday 18 December 2006 12:53, Henrique de Moraes Holschuh wrote:
> From: Alexey Starikovskiy <alexey_y_starikovskiy@linux.intel.com>
> 
> Allow clean removal by setting notify_installed in the right place.
> 
> Alexey Starikovskiy <alexey.y.starikovskiy@intel.com>
> Signed-off-by: Henrique de Moraes Holschuh <hmh@hmh.eng.br>
> Signed-off-by: Len Brown <len.brown@intel.com>
> ---
> 
>  drivers/acpi/ibm_acpi.c |    3 +--
>  1 files changed, 1 insertions(+), 2 deletions(-)
> 
> diff --git a/drivers/acpi/ibm_acpi.c b/drivers/acpi/ibm_acpi.c
> index 003a987..719a320 100644
> --- a/drivers/acpi/ibm_acpi.c
> +++ b/drivers/acpi/ibm_acpi.c
> @@ -1805,7 +1805,7 @@ static int __init setup_notify(struct ibm_struct *ibm)
>  		       ibm->name, status);
>  		return -ENODEV;
>  	}
> -
> +	ibm->notify_installed = 1;
>  	return 0;
>  }
>  
> @@ -1882,7 +1882,6 @@ static int __init ibm_init(struct ibm_struct *ibm)
>  		ret = setup_notify(ibm);
>  		if (ret < 0)
>  			return ret;
> -		ibm->notify_installed = 1;
>  	}
>  
>  	return 0;
> 
> 
> --  
>   "One disk to rule them all, One disk to find them. One disk to bring
>   them all and in the darkness grind them. In the Land of Redmond
>   where the shadows lie." -- The Silicon Valley Tarot
>   Henrique Holschuh
> -
> To unsubscribe from this list: send the line "unsubscribe linux-acpi" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at  http://vger.kernel.org/majordomo-info.html
> 

      reply	other threads:[~2006-12-20  4:14 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-12-18 17:52 [GIT PULL][PATCH] ibm-acpi: patch queue for acpi-test Henrique de Moraes Holschuh
     [not found] ` <20061218175207.8826.25057.stgit-H32KNTuDSMjdPi8JTuvWk31TOOPCyuNQ5NbjCUgZEJk@public.gmane.org>
2006-12-18 17:53   ` [PATCH] ACPI: ibm_acpi: allow clean removal Henrique de Moraes Holschuh
2006-12-20  4:13     ` Len Brown [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=200612192313.27202.lenb@kernel.org \
    --to=lenb@kernel.org \
    --cc=hmh@hmh.eng.br \
    --cc=ibm-acpi-devel@lists.sourceforge.net \
    --cc=linux-acpi@vger.kernel.org \
    /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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.