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
18e7e540
Commit
18e7e540
authored
Mar 18, 2003
by
Steven Cole
Committed by
Greg Kroah-Hartman
Mar 18, 2003
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[PATCH] i2c: spelling corrections for drivers/i2c
Here are some spelling and typo fixes for drivers/i2c.
parent
0058c17b
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
7 additions
and
7 deletions
+7
-7
drivers/i2c/chips/adm1021.c
drivers/i2c/chips/adm1021.c
+2
-2
drivers/i2c/chips/lm75.c
drivers/i2c/chips/lm75.c
+1
-1
drivers/i2c/i2c-algo-pcf.c
drivers/i2c/i2c-algo-pcf.c
+3
-3
drivers/i2c/i2c-proc.c
drivers/i2c/i2c-proc.c
+1
-1
No files found.
drivers/i2c/chips/adm1021.c
View file @
18e7e540
...
...
@@ -93,9 +93,9 @@ SENSORS_INSMOD_8(adm1021, adm1023, max1617, max1617a, thmc10, lm84, gl523sm, mc1
/* Initial values */
/* Note: Eventhough I left the low and high limits named os and hyst,
/* Note: Even
though I left the low and high limits named os and hyst,
they don't quite work like a thermostat the way the LM75 does. I.e.,
a lower temp than THYST actuall triggers an alarm instead of
a lower temp than THYST actuall
y
triggers an alarm instead of
clearing it. Weird, ey? --Phil */
#define adm1021_INIT_TOS 60
#define adm1021_INIT_THYST 20
...
...
drivers/i2c/chips/lm75.c
View file @
18e7e540
...
...
@@ -25,7 +25,7 @@
#include <linux/i2c-proc.h>
#define LM75_SYSCTL_TEMP 1200
/* Degrees Cel
c
ius * 10 */
#define LM75_SYSCTL_TEMP 1200
/* Degrees Cel
s
ius * 10 */
/* Addresses to scan */
static
unsigned
short
normal_i2c
[]
=
{
SENSORS_I2C_END
};
...
...
drivers/i2c/i2c-algo-pcf.c
View file @
18e7e540
...
...
@@ -152,7 +152,7 @@ static int pcf_init_8584 (struct i2c_algo_pcf_data *adap)
/* load own address in S0, effective address is (own << 1) */
i2c_outb
(
adap
,
get_own
(
adap
));
/* check it's real
y wri
ten */
/* check it's real
ly writ
ten */
if
((
temp
=
i2c_inb
(
adap
))
!=
get_own
(
adap
))
{
DEB2
(
printk
(
KERN_ERR
"i2c-algo-pcf.o: PCF detection failed -- can't set S0 (0x%02x).
\n
"
,
temp
));
return
-
ENXIO
;
...
...
@@ -168,7 +168,7 @@ static int pcf_init_8584 (struct i2c_algo_pcf_data *adap)
/* load clock register S2 */
i2c_outb
(
adap
,
get_clock
(
adap
));
/* check it's real
y wri
ten, the only 5 lowest bits does matter */
/* check it's real
ly writ
ten, the only 5 lowest bits does matter */
if
(((
temp
=
i2c_inb
(
adap
))
&
0x1f
)
!=
get_clock
(
adap
))
{
DEB2
(
printk
(
KERN_ERR
"i2c-algo-pcf.o: PCF detection failed -- can't set S2 (0x%02x).
\n
"
,
temp
));
return
-
ENXIO
;
...
...
@@ -177,7 +177,7 @@ static int pcf_init_8584 (struct i2c_algo_pcf_data *adap)
/* Enable serial interface, idle, S0 selected */
set_pcf
(
adap
,
1
,
I2C_PCF_IDLE
);
/* check to see PCF is realy idled and we can access status register */
/* check to see PCF is real
l
y idled and we can access status register */
if
((
temp
=
get_pcf
(
adap
,
1
))
!=
(
I2C_PCF_PIN
|
I2C_PCF_BB
))
{
DEB2
(
printk
(
KERN_ERR
"i2c-algo-pcf.o: PCF detection failed -- can't select S1` (0x%02x).
\n
"
,
temp
));
return
-
ENXIO
;
...
...
drivers/i2c/i2c-proc.c
View file @
18e7e540
...
...
@@ -270,7 +270,7 @@ static int i2c_sysctl_chips(ctl_table * table, int *name, int nlen,
}
/* This funcion reads or writes a 'real' value (encoded by the combination
/* This func
t
ion reads or writes a 'real' value (encoded by the combination
of an integer and a magnitude, the last is the power of ten the value
should be divided with) to a /proc/sys directory. To use this function,
you must (before registering the ctl_table) set the extra2 field to the
...
...
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