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
58183ddf
Commit
58183ddf
authored
Sep 22, 2003
by
Greg Kroah-Hartman
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[PATCH] I2C: remove check_region usage and warning from i2c-sensor
parent
c0a0a258
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
2 deletions
+3
-2
drivers/i2c/i2c-sensor.c
drivers/i2c/i2c-sensor.c
+3
-2
No files found.
drivers/i2c/i2c-sensor.c
View file @
58183ddf
...
...
@@ -50,8 +50,9 @@ int i2c_detect(struct i2c_adapter *adapter,
return
-
1
;
for
(
addr
=
0x00
;
addr
<=
(
is_isa
?
0xffff
:
0x7f
);
addr
++
)
{
/* XXX: WTF is going on here??? */
if
((
is_isa
&&
check_region
(
addr
,
1
))
||
void
*
region_used
=
request_region
(
addr
,
1
,
"foo"
);
release_region
(
addr
,
1
);
if
((
is_isa
&&
(
region_used
==
NULL
))
||
(
!
is_isa
&&
i2c_check_addr
(
adapter
,
addr
)))
continue
;
...
...
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