public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Greg KH <greg@kroah.com>
To: linux-kernel@vger.kernel.org
Subject: Re: [PATCH] PNP driver changes for 2.5.44
Date: Tue, 29 Oct 2002 10:47:16 -0800	[thread overview]
Message-ID: <20021029184715.GF27082@kroah.com> (raw)
In-Reply-To: <20021029184541.GE27082@kroah.com>

ChangeSet 1.808.4.5, 2002/10/24 00:27:01-07:00, ambx1@neo.rr.com

[PATCH] update PnP layer to driver model changes - 2.5.44 (4/4)

Updates to the driver model changes.  This should fix a potential panic.


diff -Nru a/drivers/pnp/driver.c b/drivers/pnp/driver.c
--- a/drivers/pnp/driver.c	Tue Oct 29 10:38:28 2002
+++ b/drivers/pnp/driver.c	Tue Oct 29 10:38:28 2002
@@ -175,7 +175,7 @@
 void pnp_unregister_driver(struct pnp_driver *drv)
 {
 	pnp_dbg("the driver '%s' has been unregistered", drv->name);
-	remove_driver(&drv->driver);
+	driver_unregister(&drv->driver);
 }
 
 /**

      reply	other threads:[~2002-10-29 18:43 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-10-29 18:40 [BK PATCH] PNP driver changes for 2.5.44 Greg KH
2002-10-29 18:43 ` [PATCH] " Greg KH
2002-10-29 18:44   ` Greg KH
2002-10-29 18:44     ` Greg KH
2002-10-29 18:45       ` Greg KH
2002-10-29 18:47         ` Greg KH [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=20021029184715.GF27082@kroah.com \
    --to=greg@kroah.com \
    --cc=linux-kernel@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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox