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
f8770ea0
Commit
f8770ea0
authored
Mar 17, 2003
by
Greg Kroah-Hartman
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[PATCH] i2c i2c-i801.c: remove check_region() usage.
parent
3f437937
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
4 deletions
+2
-4
drivers/i2c/busses/i2c-i801.c
drivers/i2c/busses/i2c-i801.c
+2
-4
No files found.
drivers/i2c/busses/i2c-i801.c
View file @
f8770ea0
...
@@ -158,10 +158,10 @@ static int i801_setup(struct pci_dev *dev)
...
@@ -158,10 +158,10 @@ static int i801_setup(struct pci_dev *dev)
}
}
}
}
if
(
check_region
(
i801_smba
,
(
isich4
?
16
:
8
)
))
{
if
(
!
request_region
(
i801_smba
,
(
isich4
?
16
:
8
),
"i801-smbus"
))
{
dev_err
(
&
dev
->
dev
,
"I801_smb region 0x%x already in use!
\n
"
,
dev_err
(
&
dev
->
dev
,
"I801_smb region 0x%x already in use!
\n
"
,
i801_smba
);
i801_smba
);
error_return
=
-
E
NODEV
;
error_return
=
-
E
BUSY
;
goto
END
;
goto
END
;
}
}
...
@@ -181,8 +181,6 @@ static int i801_setup(struct pci_dev *dev)
...
@@ -181,8 +181,6 @@ static int i801_setup(struct pci_dev *dev)
dev_warn
(
&
dev
->
dev
,
"enabling SMBus device
\n
"
);
dev_warn
(
&
dev
->
dev
,
"enabling SMBus device
\n
"
);
}
}
request_region
(
i801_smba
,
(
isich4
?
16
:
8
),
"i801-smbus"
);
if
(
temp
&
0x02
)
if
(
temp
&
0x02
)
dev_dbg
(
&
dev
->
dev
,
"I801 using Interrupt SMI# for SMBus.
\n
"
);
dev_dbg
(
&
dev
->
dev
,
"I801 using Interrupt SMI# for SMBus.
\n
"
);
else
else
...
...
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