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
25fcc319
Commit
25fcc319
authored
Mar 01, 2005
by
Greg Kroah-Hartman
Committed by
Greg Kroah-Hartman
Mar 01, 2005
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[PATCH] I2C: Fix up some build warnings in the fscpos driver.
Signed-off-by:
Greg Kroah-Hartman
<
greg@kroah.com
>
parent
8929157c
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
3 deletions
+1
-3
drivers/i2c/chips/fscpos.c
drivers/i2c/chips/fscpos.c
+1
-3
No files found.
drivers/i2c/chips/fscpos.c
View file @
25fcc319
...
...
@@ -51,8 +51,6 @@ SENSORS_INSMOD_1(fscpos);
* The FSCPOS registers
*/
#define DEBUG
/* chip identification */
#define FSCPOS_REG_IDENT_0 0x00
#define FSCPOS_REG_IDENT_1 0x01
...
...
@@ -566,10 +564,10 @@ static struct fscpos_data *fscpos_update_device(struct device *dev)
if
((
jiffies
-
data
->
last_updated
>
2
*
HZ
)
||
(
jiffies
<
data
->
last_updated
)
||
!
data
->
valid
)
{
int
i
;
dev_dbg
(
&
client
->
dev
,
"Starting fscpos update
\n
"
);
int
i
;
for
(
i
=
0
;
i
<
3
;
i
++
)
{
data
->
temp_act
[
i
]
=
fscpos_read_value
(
client
,
FSCPOS_REG_TEMP_ACT
[
i
]);
...
...
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