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
b6afc392
Commit
b6afc392
authored
Mar 19, 2003
by
Greg Kroah-Hartman
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[PATCH] i2c i2c-ali15x3.c: remove check_region() call.
parent
91bd9569
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-ali15x3.c
drivers/i2c/busses/i2c-ali15x3.c
+1
-4
No files found.
drivers/i2c/busses/i2c-ali15x3.c
View file @
b6afc392
...
...
@@ -170,7 +170,7 @@ int ali15x3_setup(struct pci_dev *ALI15X3_dev)
if
(
force_addr
)
ali15x3_smba
=
force_addr
&
~
(
ALI15X3_SMB_IOSIZE
-
1
);
if
(
check_region
(
ali15x3_smba
,
ALI15X3_SMB_IOSIZE
))
{
if
(
!
request_region
(
ali15x3_smba
,
ALI15X3_SMB_IOSIZE
,
"ali15x3-smb"
))
{
dev_err
(
&
ALI15X3_dev
->
dev
,
"ALI15X3_smb region 0x%x already in use!
\n
"
,
ali15x3_smba
);
...
...
@@ -210,9 +210,6 @@ int ali15x3_setup(struct pci_dev *ALI15X3_dev)
/* set SMB clock to 74KHz as recommended in data sheet */
pci_write_config_byte
(
ALI15X3_dev
,
SMBCLK
,
0x20
);
/* Everything is happy, let's grab the memory and set things up. */
request_region
(
ali15x3_smba
,
ALI15X3_SMB_IOSIZE
,
"ali15x3-smb"
);
/*
The interrupt routing for SMB is set up in register 0x77 in the
1533 ISA Bridge device, NOT in the 7101 device.
...
...
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