All of lore.kernel.org
 help / color / mirror / Atom feed
* [KJ] [PATCH] drivers/w1/*: convert to pci_register_driver
@ 2005-02-10  9:17 Christophe Lucas
  2005-02-17 21:57 ` Greg KH
  0 siblings, 1 reply; 2+ messages in thread
From: Christophe Lucas @ 2005-02-10  9:17 UTC (permalink / raw)
  To: kernel-janitors

[-- Attachment #1: Type: text/plain, Size: 179 bytes --]

Hi,

Description:
convert from pci_module_init to pci_register_driver
(from:http://kerneljanitors.org/TODO).

Signed-off-by: Christophe Lucas <c.lucas@ifrance.com>
-- 
Christophe

[-- Attachment #2: pci_register_driver-linux-2.6.11-rc3_drivers_w1.patch --]
[-- Type: text/plain, Size: 545 bytes --]

diff -urpN -X /work/users/dontdiff linux-2.6.11-rc3-vanilla/drivers/w1/matrox_w1.c linux-2.6.11-rc3/drivers/w1/matrox_w1.c
--- linux-2.6.11-rc3-vanilla/drivers/w1/matrox_w1.c	2004-12-24 22:35:01.000000000 +0100
+++ linux-2.6.11-rc3/drivers/w1/matrox_w1.c	2005-02-07 09:39:30.000000000 +0100
@@ -235,7 +235,7 @@ static void __devexit matrox_w1_remove(s
 
 static int __init matrox_w1_init(void)
 {
-	return pci_module_init(&matrox_w1_pci_driver);
+	return pci_register_driver(&matrox_w1_pci_driver);
 }
 
 static void __exit matrox_w1_fini(void)

[-- Attachment #3: Type: text/plain, Size: 167 bytes --]

_______________________________________________
Kernel-janitors mailing list
Kernel-janitors@lists.osdl.org
http://lists.osdl.org/mailman/listinfo/kernel-janitors

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [KJ] [PATCH] drivers/w1/*: convert to pci_register_driver
  2005-02-10  9:17 [KJ] [PATCH] drivers/w1/*: convert to pci_register_driver Christophe Lucas
@ 2005-02-17 21:57 ` Greg KH
  0 siblings, 0 replies; 2+ messages in thread
From: Greg KH @ 2005-02-17 21:57 UTC (permalink / raw)
  To: kernel-janitors

[-- Attachment #1: Type: text/plain, Size: 272 bytes --]

On Thu, Feb 10, 2005 at 10:17:19AM +0100, Christophe Lucas wrote:
> Hi,
> 
> Description:
> convert from pci_module_init to pci_register_driver
> (from:http://kerneljanitors.org/TODO).
> 
> Signed-off-by: Christophe Lucas <c.lucas@ifrance.com>

Applied, thanks.

greg k-h

[-- Attachment #2: Type: text/plain, Size: 167 bytes --]

_______________________________________________
Kernel-janitors mailing list
Kernel-janitors@lists.osdl.org
http://lists.osdl.org/mailman/listinfo/kernel-janitors

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2005-02-17 21:57 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-02-10  9:17 [KJ] [PATCH] drivers/w1/*: convert to pci_register_driver Christophe Lucas
2005-02-17 21:57 ` Greg KH

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.