From: Greg KH <greg@kroah.com>
To: linux-kernel@vger.kernel.org, sensors@stimpy.netroedge.com
Subject: Re: [PATCH] I2C update for 2.6.9
Date: Tue, 19 Oct 2004 17:18:27 -0700 [thread overview]
Message-ID: <10982315071856@kroah.com> (raw)
In-Reply-To: <10982315072286@kroah.com>
ChangeSet 1.2079, 2004/10/19 16:46:21-07:00, greg@kroah.com
I2C: convert from pci_module_init to pci_register_driver for all i2c drivers.
Signed-off-by: Greg Kroah-Hartman <greg@kroah.com>
drivers/i2c/busses/i2c-ali1535.c | 2 +-
drivers/i2c/busses/i2c-ali1563.c | 2 +-
drivers/i2c/busses/i2c-ali15x3.c | 2 +-
drivers/i2c/busses/i2c-amd756.c | 2 +-
drivers/i2c/busses/i2c-amd8111.c | 2 +-
drivers/i2c/busses/i2c-hydra.c | 2 +-
drivers/i2c/busses/i2c-i801.c | 2 +-
drivers/i2c/busses/i2c-i810.c | 2 +-
drivers/i2c/busses/i2c-nforce2.c | 2 +-
drivers/i2c/busses/i2c-piix4.c | 2 +-
drivers/i2c/busses/i2c-prosavage.c | 2 +-
drivers/i2c/busses/i2c-savage4.c | 2 +-
drivers/i2c/busses/i2c-sis5595.c | 2 +-
drivers/i2c/busses/i2c-sis630.c | 2 +-
drivers/i2c/busses/i2c-sis96x.c | 2 +-
drivers/i2c/busses/i2c-via.c | 2 +-
drivers/i2c/busses/i2c-viapro.c | 2 +-
drivers/i2c/busses/i2c-voodoo3.c | 2 +-
drivers/i2c/chips/via686a.c | 2 +-
19 files changed, 19 insertions(+), 19 deletions(-)
diff -Nru a/drivers/i2c/busses/i2c-ali1535.c b/drivers/i2c/busses/i2c-ali1535.c
--- a/drivers/i2c/busses/i2c-ali1535.c 2004-10-19 16:53:22 -07:00
+++ b/drivers/i2c/busses/i2c-ali1535.c 2004-10-19 16:53:22 -07:00
@@ -529,7 +529,7 @@
static int __init i2c_ali1535_init(void)
{
- return pci_module_init(&ali1535_driver);
+ return pci_register_driver(&ali1535_driver);
}
static void __exit i2c_ali1535_exit(void)
diff -Nru a/drivers/i2c/busses/i2c-ali1563.c b/drivers/i2c/busses/i2c-ali1563.c
--- a/drivers/i2c/busses/i2c-ali1563.c 2004-10-19 16:53:22 -07:00
+++ b/drivers/i2c/busses/i2c-ali1563.c 2004-10-19 16:53:22 -07:00
@@ -405,7 +405,7 @@
static int __init ali1563_init(void)
{
- return pci_module_init(&ali1563_pci_driver);
+ return pci_register_driver(&ali1563_pci_driver);
}
module_init(ali1563_init);
diff -Nru a/drivers/i2c/busses/i2c-ali15x3.c b/drivers/i2c/busses/i2c-ali15x3.c
--- a/drivers/i2c/busses/i2c-ali15x3.c 2004-10-19 16:53:22 -07:00
+++ b/drivers/i2c/busses/i2c-ali15x3.c 2004-10-19 16:53:22 -07:00
@@ -519,7 +519,7 @@
static int __init i2c_ali15x3_init(void)
{
- return pci_module_init(&ali15x3_driver);
+ return pci_register_driver(&ali15x3_driver);
}
static void __exit i2c_ali15x3_exit(void)
diff -Nru a/drivers/i2c/busses/i2c-amd756.c b/drivers/i2c/busses/i2c-amd756.c
--- a/drivers/i2c/busses/i2c-amd756.c 2004-10-19 16:53:22 -07:00
+++ b/drivers/i2c/busses/i2c-amd756.c 2004-10-19 16:53:22 -07:00
@@ -408,7 +408,7 @@
static int __init amd756_init(void)
{
- return pci_module_init(&amd756_driver);
+ return pci_register_driver(&amd756_driver);
}
static void __exit amd756_exit(void)
diff -Nru a/drivers/i2c/busses/i2c-amd8111.c b/drivers/i2c/busses/i2c-amd8111.c
--- a/drivers/i2c/busses/i2c-amd8111.c 2004-10-19 16:53:22 -07:00
+++ b/drivers/i2c/busses/i2c-amd8111.c 2004-10-19 16:53:22 -07:00
@@ -402,7 +402,7 @@
static int __init i2c_amd8111_init(void)
{
- return pci_module_init(&amd8111_driver);
+ return pci_register_driver(&amd8111_driver);
}
diff -Nru a/drivers/i2c/busses/i2c-hydra.c b/drivers/i2c/busses/i2c-hydra.c
--- a/drivers/i2c/busses/i2c-hydra.c 2004-10-19 16:53:22 -07:00
+++ b/drivers/i2c/busses/i2c-hydra.c 2004-10-19 16:53:22 -07:00
@@ -168,7 +168,7 @@
static int __init i2c_hydra_init(void)
{
- return pci_module_init(&hydra_driver);
+ return pci_register_driver(&hydra_driver);
}
diff -Nru a/drivers/i2c/busses/i2c-i801.c b/drivers/i2c/busses/i2c-i801.c
--- a/drivers/i2c/busses/i2c-i801.c 2004-10-19 16:53:22 -07:00
+++ b/drivers/i2c/busses/i2c-i801.c 2004-10-19 16:53:22 -07:00
@@ -633,7 +633,7 @@
static int __init i2c_i801_init(void)
{
- return pci_module_init(&i801_driver);
+ return pci_register_driver(&i801_driver);
}
static void __exit i2c_i801_exit(void)
diff -Nru a/drivers/i2c/busses/i2c-i810.c b/drivers/i2c/busses/i2c-i810.c
--- a/drivers/i2c/busses/i2c-i810.c 2004-10-19 16:53:22 -07:00
+++ b/drivers/i2c/busses/i2c-i810.c 2004-10-19 16:53:22 -07:00
@@ -241,7 +241,7 @@
static int __init i2c_i810_init(void)
{
- return pci_module_init(&i810_driver);
+ return pci_register_driver(&i810_driver);
}
static void __exit i2c_i810_exit(void)
diff -Nru a/drivers/i2c/busses/i2c-nforce2.c b/drivers/i2c/busses/i2c-nforce2.c
--- a/drivers/i2c/busses/i2c-nforce2.c 2004-10-19 16:53:22 -07:00
+++ b/drivers/i2c/busses/i2c-nforce2.c 2004-10-19 16:53:22 -07:00
@@ -394,7 +394,7 @@
static int __init nforce2_init(void)
{
- return pci_module_init(&nforce2_driver);
+ return pci_register_driver(&nforce2_driver);
}
static void __exit nforce2_exit(void)
diff -Nru a/drivers/i2c/busses/i2c-piix4.c b/drivers/i2c/busses/i2c-piix4.c
--- a/drivers/i2c/busses/i2c-piix4.c 2004-10-19 16:53:22 -07:00
+++ b/drivers/i2c/busses/i2c-piix4.c 2004-10-19 16:53:22 -07:00
@@ -503,7 +503,7 @@
static int __init i2c_piix4_init(void)
{
- return pci_module_init(&piix4_driver);
+ return pci_register_driver(&piix4_driver);
}
static void __exit i2c_piix4_exit(void)
diff -Nru a/drivers/i2c/busses/i2c-prosavage.c b/drivers/i2c/busses/i2c-prosavage.c
--- a/drivers/i2c/busses/i2c-prosavage.c 2004-10-19 16:53:22 -07:00
+++ b/drivers/i2c/busses/i2c-prosavage.c 2004-10-19 16:53:22 -07:00
@@ -324,7 +324,7 @@
static int __init i2c_prosavage_init(void)
{
- return pci_module_init(&prosavage_driver);
+ return pci_register_driver(&prosavage_driver);
}
static void __exit i2c_prosavage_exit(void)
diff -Nru a/drivers/i2c/busses/i2c-savage4.c b/drivers/i2c/busses/i2c-savage4.c
--- a/drivers/i2c/busses/i2c-savage4.c 2004-10-19 16:53:22 -07:00
+++ b/drivers/i2c/busses/i2c-savage4.c 2004-10-19 16:53:22 -07:00
@@ -188,7 +188,7 @@
static int __init i2c_savage4_init(void)
{
- return pci_module_init(&savage4_driver);
+ return pci_register_driver(&savage4_driver);
}
static void __exit i2c_savage4_exit(void)
diff -Nru a/drivers/i2c/busses/i2c-sis5595.c b/drivers/i2c/busses/i2c-sis5595.c
--- a/drivers/i2c/busses/i2c-sis5595.c 2004-10-19 16:53:22 -07:00
+++ b/drivers/i2c/busses/i2c-sis5595.c 2004-10-19 16:53:22 -07:00
@@ -403,7 +403,7 @@
static int __init i2c_sis5595_init(void)
{
- return pci_module_init(&sis5595_driver);
+ return pci_register_driver(&sis5595_driver);
}
static void __exit i2c_sis5595_exit(void)
diff -Nru a/drivers/i2c/busses/i2c-sis630.c b/drivers/i2c/busses/i2c-sis630.c
--- a/drivers/i2c/busses/i2c-sis630.c 2004-10-19 16:53:22 -07:00
+++ b/drivers/i2c/busses/i2c-sis630.c 2004-10-19 16:53:22 -07:00
@@ -505,7 +505,7 @@
static int __init i2c_sis630_init(void)
{
- return pci_module_init(&sis630_driver);
+ return pci_register_driver(&sis630_driver);
}
diff -Nru a/drivers/i2c/busses/i2c-sis96x.c b/drivers/i2c/busses/i2c-sis96x.c
--- a/drivers/i2c/busses/i2c-sis96x.c 2004-10-19 16:53:22 -07:00
+++ b/drivers/i2c/busses/i2c-sis96x.c 2004-10-19 16:53:22 -07:00
@@ -350,7 +350,7 @@
static int __init i2c_sis96x_init(void)
{
printk(KERN_INFO "i2c-sis96x version %s\n", SIS96x_VERSION);
- return pci_module_init(&sis96x_driver);
+ return pci_register_driver(&sis96x_driver);
}
static void __exit i2c_sis96x_exit(void)
diff -Nru a/drivers/i2c/busses/i2c-via.c b/drivers/i2c/busses/i2c-via.c
--- a/drivers/i2c/busses/i2c-via.c 2004-10-19 16:53:22 -07:00
+++ b/drivers/i2c/busses/i2c-via.c 2004-10-19 16:53:22 -07:00
@@ -168,7 +168,7 @@
static int __init i2c_vt586b_init(void)
{
- return pci_module_init(&vt586b_driver);
+ return pci_register_driver(&vt586b_driver);
}
static void __exit i2c_vt586b_exit(void)
diff -Nru a/drivers/i2c/busses/i2c-viapro.c b/drivers/i2c/busses/i2c-viapro.c
--- a/drivers/i2c/busses/i2c-viapro.c 2004-10-19 16:53:22 -07:00
+++ b/drivers/i2c/busses/i2c-viapro.c 2004-10-19 16:53:22 -07:00
@@ -465,7 +465,7 @@
static int __init i2c_vt596_init(void)
{
- return pci_module_init(&vt596_driver);
+ return pci_register_driver(&vt596_driver);
}
diff -Nru a/drivers/i2c/busses/i2c-voodoo3.c b/drivers/i2c/busses/i2c-voodoo3.c
--- a/drivers/i2c/busses/i2c-voodoo3.c 2004-10-19 16:53:22 -07:00
+++ b/drivers/i2c/busses/i2c-voodoo3.c 2004-10-19 16:53:22 -07:00
@@ -234,7 +234,7 @@
static int __init i2c_voodoo3_init(void)
{
- return pci_module_init(&voodoo3_driver);
+ return pci_register_driver(&voodoo3_driver);
}
static void __exit i2c_voodoo3_exit(void)
diff -Nru a/drivers/i2c/chips/via686a.c b/drivers/i2c/chips/via686a.c
--- a/drivers/i2c/chips/via686a.c 2004-10-19 16:53:22 -07:00
+++ b/drivers/i2c/chips/via686a.c 2004-10-19 16:53:22 -07:00
@@ -838,7 +838,7 @@
static int __init sm_via686a_init(void)
{
- return pci_module_init(&via686a_pci_driver);
+ return pci_register_driver(&via686a_pci_driver);
}
static void __exit sm_via686a_exit(void)
next prev parent reply other threads:[~2004-10-20 0:26 UTC|newest]
Thread overview: 54+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-10-20 0:16 [BK PATCH] I2C update for 2.6.9 Greg KH
2005-05-19 6:25 ` Greg KH
2004-10-20 0:18 ` [PATCH] " Greg KH
2004-10-20 0:18 ` Greg KH
2004-10-20 0:18 ` Greg KH
2004-10-20 0:18 ` Greg KH
2004-10-20 0:18 ` Greg KH
2004-10-20 0:18 ` Greg KH
2004-10-20 0:18 ` Greg KH
2004-10-20 0:18 ` Greg KH
2004-10-20 0:18 ` Greg KH
2005-05-19 6:25 ` Greg KH
2004-10-20 0:18 ` Greg KH
2004-10-20 0:18 ` Greg KH
2004-10-20 0:18 ` Greg KH
2004-10-20 0:18 ` Greg KH
2004-10-20 0:18 ` Greg KH
2004-10-20 0:18 ` Greg KH
2004-10-20 0:18 ` Greg KH
2004-10-20 0:18 ` Greg KH
2004-10-20 0:18 ` Greg KH
2004-10-20 0:18 ` Greg KH
2004-10-20 0:18 ` Greg KH
2004-10-20 0:18 ` Greg KH
2004-10-20 0:18 ` Greg KH
2004-10-20 0:18 ` Greg KH
2004-10-20 0:18 ` Greg KH
2004-10-20 0:18 ` Greg KH
2004-10-20 0:18 ` Greg KH
2004-10-20 0:18 ` Greg KH
2005-05-19 6:25 ` Greg KH
2004-10-20 0:18 ` Greg KH
2004-10-20 0:18 ` Greg KH
2004-10-20 0:18 ` Greg KH
2004-10-20 0:18 ` Greg KH
2004-10-20 0:18 ` Greg KH [this message]
2004-10-20 5:21 ` Eugene Surovegin
2005-05-19 6:25 ` Eugene Surovegin
2004-10-20 6:26 ` [PATCH] fix recently introduced race in IBM PPC4xx I2C driver Eugene Surovegin
2005-05-19 6:25 ` Eugene Surovegin
2004-10-22 19:55 ` Greg KH
2005-05-19 6:25 ` Greg KH
2004-10-25 18:29 ` [PATCH] I2C update for 2.6.9 Bill Davidsen
2005-05-19 6:25 ` Bill Davidsen
2004-10-25 20:54 ` Jean Delvare
2005-05-19 6:25 ` Jean Delvare
2004-10-26 21:03 ` Bill Davidsen
2005-05-19 6:25 ` Bill Davidsen
2004-10-20 15:57 ` [BK PATCH] " Jean Delvare
2005-05-19 6:25 ` Jean Delvare
2004-10-20 16:40 ` Lee Revell
2005-05-19 6:25 ` Lee Revell
2004-10-22 21:34 ` Jean Delvare
2005-05-19 6:25 ` Jean Delvare
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=10982315071856@kroah.com \
--to=greg@kroah.com \
--cc=linux-kernel@vger.kernel.org \
--cc=sensors@stimpy.netroedge.com \
/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.