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
01f9820e
Commit
01f9820e
authored
Feb 17, 2004
by
Greg Kroah-Hartman
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
I2C: fix oops in i2c-ali1535 driver if no hardware is present.
Thanks to Dave Jones for pointing this out.
parent
238c5a50
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
drivers/i2c/busses/i2c-ali1535.c
drivers/i2c/busses/i2c-ali1535.c
+1
-1
No files found.
drivers/i2c/busses/i2c-ali1535.c
View file @
01f9820e
...
...
@@ -517,6 +517,7 @@ static int __devinit ali1535_probe(struct pci_dev *dev, const struct pci_device_
static
void
__devexit
ali1535_remove
(
struct
pci_dev
*
dev
)
{
i2c_del_adapter
(
&
ali1535_adapter
);
release_region
(
ali1535_smba
,
ALI1535_SMB_IOSIZE
);
}
static
struct
pci_driver
ali1535_driver
=
{
...
...
@@ -534,7 +535,6 @@ static int __init i2c_ali1535_init(void)
static
void
__exit
i2c_ali1535_exit
(
void
)
{
pci_unregister_driver
(
&
ali1535_driver
);
release_region
(
ali1535_smba
,
ALI1535_SMB_IOSIZE
);
}
MODULE_AUTHOR
(
"Frodo Looijaard <frodol@dds.nl>, "
...
...
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