Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
L
linux
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
nexedi
linux
Commits
68fb0f04
Commit
68fb0f04
authored
Oct 19, 2004
by
Greg Kroah-Hartman
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
I2C: convert from pci_module_init to pci_register_driver for all i2c drivers.
Signed-off-by:
Greg Kroah-Hartman
<
greg@kroah.com
>
parent
9ebb08c8
Changes
19
Show whitespace changes
Inline
Side-by-side
Showing
19 changed files
with
19 additions
and
19 deletions
+19
-19
drivers/i2c/busses/i2c-ali1535.c
drivers/i2c/busses/i2c-ali1535.c
+1
-1
drivers/i2c/busses/i2c-ali1563.c
drivers/i2c/busses/i2c-ali1563.c
+1
-1
drivers/i2c/busses/i2c-ali15x3.c
drivers/i2c/busses/i2c-ali15x3.c
+1
-1
drivers/i2c/busses/i2c-amd756.c
drivers/i2c/busses/i2c-amd756.c
+1
-1
drivers/i2c/busses/i2c-amd8111.c
drivers/i2c/busses/i2c-amd8111.c
+1
-1
drivers/i2c/busses/i2c-hydra.c
drivers/i2c/busses/i2c-hydra.c
+1
-1
drivers/i2c/busses/i2c-i801.c
drivers/i2c/busses/i2c-i801.c
+1
-1
drivers/i2c/busses/i2c-i810.c
drivers/i2c/busses/i2c-i810.c
+1
-1
drivers/i2c/busses/i2c-nforce2.c
drivers/i2c/busses/i2c-nforce2.c
+1
-1
drivers/i2c/busses/i2c-piix4.c
drivers/i2c/busses/i2c-piix4.c
+1
-1
drivers/i2c/busses/i2c-prosavage.c
drivers/i2c/busses/i2c-prosavage.c
+1
-1
drivers/i2c/busses/i2c-savage4.c
drivers/i2c/busses/i2c-savage4.c
+1
-1
drivers/i2c/busses/i2c-sis5595.c
drivers/i2c/busses/i2c-sis5595.c
+1
-1
drivers/i2c/busses/i2c-sis630.c
drivers/i2c/busses/i2c-sis630.c
+1
-1
drivers/i2c/busses/i2c-sis96x.c
drivers/i2c/busses/i2c-sis96x.c
+1
-1
drivers/i2c/busses/i2c-via.c
drivers/i2c/busses/i2c-via.c
+1
-1
drivers/i2c/busses/i2c-viapro.c
drivers/i2c/busses/i2c-viapro.c
+1
-1
drivers/i2c/busses/i2c-voodoo3.c
drivers/i2c/busses/i2c-voodoo3.c
+1
-1
drivers/i2c/chips/via686a.c
drivers/i2c/chips/via686a.c
+1
-1
No files found.
drivers/i2c/busses/i2c-ali1535.c
View file @
68fb0f04
...
...
@@ -529,7 +529,7 @@ static struct pci_driver ali1535_driver = {
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
)
...
...
drivers/i2c/busses/i2c-ali1563.c
View file @
68fb0f04
...
...
@@ -405,7 +405,7 @@ static struct pci_driver ali1563_pci_driver = {
static
int
__init
ali1563_init
(
void
)
{
return
pci_
module_init
(
&
ali1563_pci_driver
);
return
pci_
register_driver
(
&
ali1563_pci_driver
);
}
module_init
(
ali1563_init
);
...
...
drivers/i2c/busses/i2c-ali15x3.c
View file @
68fb0f04
...
...
@@ -519,7 +519,7 @@ static struct pci_driver ali15x3_driver = {
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
)
...
...
drivers/i2c/busses/i2c-amd756.c
View file @
68fb0f04
...
...
@@ -408,7 +408,7 @@ static struct pci_driver amd756_driver = {
static
int
__init
amd756_init
(
void
)
{
return
pci_
module_init
(
&
amd756_driver
);
return
pci_
register_driver
(
&
amd756_driver
);
}
static
void
__exit
amd756_exit
(
void
)
...
...
drivers/i2c/busses/i2c-amd8111.c
View file @
68fb0f04
...
...
@@ -402,7 +402,7 @@ static struct pci_driver amd8111_driver = {
static
int
__init
i2c_amd8111_init
(
void
)
{
return
pci_
module_init
(
&
amd8111_driver
);
return
pci_
register_driver
(
&
amd8111_driver
);
}
...
...
drivers/i2c/busses/i2c-hydra.c
View file @
68fb0f04
...
...
@@ -168,7 +168,7 @@ static struct pci_driver hydra_driver = {
static
int
__init
i2c_hydra_init
(
void
)
{
return
pci_
module_init
(
&
hydra_driver
);
return
pci_
register_driver
(
&
hydra_driver
);
}
...
...
drivers/i2c/busses/i2c-i801.c
View file @
68fb0f04
...
...
@@ -633,7 +633,7 @@ static struct pci_driver i801_driver = {
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
)
...
...
drivers/i2c/busses/i2c-i810.c
View file @
68fb0f04
...
...
@@ -241,7 +241,7 @@ static struct pci_driver i810_driver = {
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
)
...
...
drivers/i2c/busses/i2c-nforce2.c
View file @
68fb0f04
...
...
@@ -394,7 +394,7 @@ static struct pci_driver nforce2_driver = {
static
int
__init
nforce2_init
(
void
)
{
return
pci_
module_init
(
&
nforce2_driver
);
return
pci_
register_driver
(
&
nforce2_driver
);
}
static
void
__exit
nforce2_exit
(
void
)
...
...
drivers/i2c/busses/i2c-piix4.c
View file @
68fb0f04
...
...
@@ -503,7 +503,7 @@ static struct pci_driver piix4_driver = {
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
)
...
...
drivers/i2c/busses/i2c-prosavage.c
View file @
68fb0f04
...
...
@@ -324,7 +324,7 @@ static struct pci_driver prosavage_driver = {
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
)
...
...
drivers/i2c/busses/i2c-savage4.c
View file @
68fb0f04
...
...
@@ -188,7 +188,7 @@ static struct pci_driver savage4_driver = {
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
)
...
...
drivers/i2c/busses/i2c-sis5595.c
View file @
68fb0f04
...
...
@@ -403,7 +403,7 @@ static struct pci_driver sis5595_driver = {
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
)
...
...
drivers/i2c/busses/i2c-sis630.c
View file @
68fb0f04
...
...
@@ -505,7 +505,7 @@ static struct pci_driver sis630_driver = {
static
int
__init
i2c_sis630_init
(
void
)
{
return
pci_
module_init
(
&
sis630_driver
);
return
pci_
register_driver
(
&
sis630_driver
);
}
...
...
drivers/i2c/busses/i2c-sis96x.c
View file @
68fb0f04
...
...
@@ -350,7 +350,7 @@ static struct pci_driver sis96x_driver = {
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
)
...
...
drivers/i2c/busses/i2c-via.c
View file @
68fb0f04
...
...
@@ -168,7 +168,7 @@ static struct pci_driver vt586b_driver = {
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
)
...
...
drivers/i2c/busses/i2c-viapro.c
View file @
68fb0f04
...
...
@@ -465,7 +465,7 @@ static struct pci_driver vt596_driver = {
static
int
__init
i2c_vt596_init
(
void
)
{
return
pci_
module_init
(
&
vt596_driver
);
return
pci_
register_driver
(
&
vt596_driver
);
}
...
...
drivers/i2c/busses/i2c-voodoo3.c
View file @
68fb0f04
...
...
@@ -234,7 +234,7 @@ static struct pci_driver voodoo3_driver = {
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
)
...
...
drivers/i2c/chips/via686a.c
View file @
68fb0f04
...
...
@@ -838,7 +838,7 @@ static struct pci_driver via686a_pci_driver = {
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
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment