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
Kirill Smelkov
linux
Commits
ee565939
Commit
ee565939
authored
Mar 18, 2003
by
Greg Kroah-Hartman
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[PATCH] i2c i2c-piix4.c: remove check_region() call.
parent
3a1eb5cd
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
4 deletions
+1
-4
drivers/i2c/busses/i2c-piix4.c
drivers/i2c/busses/i2c-piix4.c
+1
-4
No files found.
drivers/i2c/busses/i2c-piix4.c
View file @
ee565939
...
@@ -149,7 +149,7 @@ static int piix4_setup(struct pci_dev *PIIX4_dev, const struct pci_device_id *id
...
@@ -149,7 +149,7 @@ static int piix4_setup(struct pci_dev *PIIX4_dev, const struct pci_device_id *id
}
}
}
}
if
(
check_region
(
piix4_smba
,
8
))
{
if
(
!
request_region
(
piix4_smba
,
8
,
"piix4-smbus"
))
{
printk
printk
(
KERN_ERR
"i2c-piix4.o: SMB region 0x%x already in use!
\n
"
,
(
KERN_ERR
"i2c-piix4.o: SMB region 0x%x already in use!
\n
"
,
piix4_smba
);
piix4_smba
);
...
@@ -188,9 +188,6 @@ static int piix4_setup(struct pci_dev *PIIX4_dev, const struct pci_device_id *id
...
@@ -188,9 +188,6 @@ static int piix4_setup(struct pci_dev *PIIX4_dev, const struct pci_device_id *id
}
}
}
}
/* Everything is happy, let's grab the memory and set things up. */
request_region
(
piix4_smba
,
8
,
"piix4-smbus"
);
#ifdef DEBUG
#ifdef DEBUG
if
((
temp
&
0x0E
)
==
8
)
if
((
temp
&
0x0E
)
==
8
)
printk
printk
...
...
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