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
331dc808
Commit
331dc808
authored
Nov 08, 2004
by
Greg Kroah-Hartman
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
I2C: remove normal_isa_range from I2C sensor drivers, as it's not used.
Signed-off-by:
Greg Kroah-Hartman
<
greg@kroah.com
>
parent
dced69a0
Changes
29
Hide whitespace changes
Inline
Side-by-side
Showing
29 changed files
with
0 additions
and
45 deletions
+0
-45
drivers/i2c/chips/adm1021.c
drivers/i2c/chips/adm1021.c
+0
-1
drivers/i2c/chips/adm1025.c
drivers/i2c/chips/adm1025.c
+0
-1
drivers/i2c/chips/adm1031.c
drivers/i2c/chips/adm1031.c
+0
-1
drivers/i2c/chips/asb100.c
drivers/i2c/chips/asb100.c
+0
-1
drivers/i2c/chips/ds1621.c
drivers/i2c/chips/ds1621.c
+0
-1
drivers/i2c/chips/eeprom.c
drivers/i2c/chips/eeprom.c
+0
-1
drivers/i2c/chips/fscher.c
drivers/i2c/chips/fscher.c
+0
-1
drivers/i2c/chips/gl518sm.c
drivers/i2c/chips/gl518sm.c
+0
-1
drivers/i2c/chips/it87.c
drivers/i2c/chips/it87.c
+0
-1
drivers/i2c/chips/lm63.c
drivers/i2c/chips/lm63.c
+0
-1
drivers/i2c/chips/lm75.c
drivers/i2c/chips/lm75.c
+0
-1
drivers/i2c/chips/lm77.c
drivers/i2c/chips/lm77.c
+0
-1
drivers/i2c/chips/lm78.c
drivers/i2c/chips/lm78.c
+0
-1
drivers/i2c/chips/lm80.c
drivers/i2c/chips/lm80.c
+0
-1
drivers/i2c/chips/lm83.c
drivers/i2c/chips/lm83.c
+0
-1
drivers/i2c/chips/lm85.c
drivers/i2c/chips/lm85.c
+0
-1
drivers/i2c/chips/lm87.c
drivers/i2c/chips/lm87.c
+0
-1
drivers/i2c/chips/lm90.c
drivers/i2c/chips/lm90.c
+0
-1
drivers/i2c/chips/max1619.c
drivers/i2c/chips/max1619.c
+0
-1
drivers/i2c/chips/pc87360.c
drivers/i2c/chips/pc87360.c
+0
-2
drivers/i2c/chips/pcf8574.c
drivers/i2c/chips/pcf8574.c
+0
-1
drivers/i2c/chips/pcf8591.c
drivers/i2c/chips/pcf8591.c
+0
-1
drivers/i2c/chips/smsc47m1.c
drivers/i2c/chips/smsc47m1.c
+0
-2
drivers/i2c/chips/via686a.c
drivers/i2c/chips/via686a.c
+0
-1
drivers/i2c/chips/w83627hf.c
drivers/i2c/chips/w83627hf.c
+0
-1
drivers/i2c/chips/w83781d.c
drivers/i2c/chips/w83781d.c
+0
-1
drivers/i2c/chips/w83l785ts.c
drivers/i2c/chips/w83l785ts.c
+0
-1
drivers/i2c/i2c-sensor-detect.c
drivers/i2c/i2c-sensor-detect.c
+0
-8
include/linux/i2c-sensor.h
include/linux/i2c-sensor.h
+0
-8
No files found.
drivers/i2c/chips/adm1021.c
View file @
331dc808
...
...
@@ -45,7 +45,6 @@ static unsigned short normal_i2c_range[] = { 0x18, 0x1a, 0x29, 0x2b,
0x4c
,
0x4e
,
I2C_CLIENT_END
};
static
unsigned
int
normal_isa
[]
=
{
I2C_CLIENT_ISA_END
};
static
unsigned
int
normal_isa_range
[]
=
{
I2C_CLIENT_ISA_END
};
/* Insmod parameters */
SENSORS_INSMOD_8
(
adm1021
,
adm1023
,
max1617
,
max1617a
,
thmc10
,
lm84
,
gl523sm
,
mc1066
);
...
...
drivers/i2c/chips/adm1025.c
View file @
331dc808
...
...
@@ -62,7 +62,6 @@
static
unsigned
short
normal_i2c
[]
=
{
I2C_CLIENT_END
};
static
unsigned
short
normal_i2c_range
[]
=
{
0x2c
,
0x2e
,
I2C_CLIENT_END
};
static
unsigned
int
normal_isa
[]
=
{
I2C_CLIENT_ISA_END
};
static
unsigned
int
normal_isa_range
[]
=
{
I2C_CLIENT_ISA_END
};
/*
* Insmod parameters
...
...
drivers/i2c/chips/adm1031.c
View file @
331dc808
...
...
@@ -60,7 +60,6 @@
static
unsigned
short
normal_i2c
[]
=
{
I2C_CLIENT_END
};
static
unsigned
short
normal_i2c_range
[]
=
{
0x2c
,
0x2e
,
I2C_CLIENT_END
};
static
unsigned
int
normal_isa
[]
=
{
I2C_CLIENT_ISA_END
};
static
unsigned
int
normal_isa_range
[]
=
{
I2C_CLIENT_ISA_END
};
/* Insmod parameters */
SENSORS_INSMOD_2
(
adm1030
,
adm1031
);
...
...
drivers/i2c/chips/asb100.c
View file @
331dc808
...
...
@@ -61,7 +61,6 @@ static unsigned short normal_i2c_range[] = { 0x28, 0x2f, I2C_CLIENT_END };
/* ISA addresses to scan (none) */
static
unsigned
int
normal_isa
[]
=
{
I2C_CLIENT_ISA_END
};
static
unsigned
int
normal_isa_range
[]
=
{
I2C_CLIENT_ISA_END
};
/* Insmod parameters */
SENSORS_INSMOD_1
(
asb100
);
...
...
drivers/i2c/chips/ds1621.c
View file @
331dc808
...
...
@@ -32,7 +32,6 @@
static
unsigned
short
normal_i2c
[]
=
{
I2C_CLIENT_END
};
static
unsigned
short
normal_i2c_range
[]
=
{
0x48
,
0x4f
,
I2C_CLIENT_END
};
static
unsigned
int
normal_isa
[]
=
{
I2C_CLIENT_ISA_END
};
static
unsigned
int
normal_isa_range
[]
=
{
I2C_CLIENT_ISA_END
};
/* Insmod parameters */
SENSORS_INSMOD_1
(
ds1621
);
...
...
drivers/i2c/chips/eeprom.c
View file @
331dc808
...
...
@@ -39,7 +39,6 @@
static
unsigned
short
normal_i2c
[]
=
{
I2C_CLIENT_END
};
static
unsigned
short
normal_i2c_range
[]
=
{
0x50
,
0x57
,
I2C_CLIENT_END
};
static
unsigned
int
normal_isa
[]
=
{
I2C_CLIENT_ISA_END
};
static
unsigned
int
normal_isa_range
[]
=
{
I2C_CLIENT_ISA_END
};
/* Insmod parameters */
SENSORS_INSMOD_1
(
eeprom
);
...
...
drivers/i2c/chips/fscher.c
View file @
331dc808
...
...
@@ -40,7 +40,6 @@
static
unsigned
short
normal_i2c
[]
=
{
0x73
,
I2C_CLIENT_END
};
static
unsigned
short
normal_i2c_range
[]
=
{
I2C_CLIENT_END
};
static
unsigned
int
normal_isa
[]
=
{
I2C_CLIENT_ISA_END
};
static
unsigned
int
normal_isa_range
[]
=
{
I2C_CLIENT_ISA_END
};
/*
* Insmod parameters
...
...
drivers/i2c/chips/gl518sm.c
View file @
331dc808
...
...
@@ -47,7 +47,6 @@
static
unsigned
short
normal_i2c
[]
=
{
0x2c
,
0x2d
,
I2C_CLIENT_END
};
static
unsigned
short
normal_i2c_range
[]
=
{
I2C_CLIENT_END
};
static
unsigned
int
normal_isa
[]
=
{
I2C_CLIENT_ISA_END
};
static
unsigned
int
normal_isa_range
[]
=
{
I2C_CLIENT_ISA_END
};
/* Insmod parameters */
SENSORS_INSMOD_2
(
gl518sm_r00
,
gl518sm_r80
);
...
...
drivers/i2c/chips/it87.c
View file @
331dc808
...
...
@@ -45,7 +45,6 @@
static
unsigned
short
normal_i2c
[]
=
{
I2C_CLIENT_END
};
static
unsigned
short
normal_i2c_range
[]
=
{
0x20
,
0x2f
,
I2C_CLIENT_END
};
static
unsigned
int
normal_isa
[]
=
{
0x0290
,
I2C_CLIENT_ISA_END
};
static
unsigned
int
normal_isa_range
[]
=
{
I2C_CLIENT_ISA_END
};
/* Insmod parameters */
SENSORS_INSMOD_2
(
it87
,
it8712
);
...
...
drivers/i2c/chips/lm63.c
View file @
331dc808
...
...
@@ -52,7 +52,6 @@
static
unsigned
short
normal_i2c
[]
=
{
0x4c
,
I2C_CLIENT_END
};
static
unsigned
short
normal_i2c_range
[]
=
{
I2C_CLIENT_END
};
static
unsigned
int
normal_isa
[]
=
{
I2C_CLIENT_ISA_END
};
static
unsigned
int
normal_isa_range
[]
=
{
I2C_CLIENT_ISA_END
};
/*
* Insmod parameters
...
...
drivers/i2c/chips/lm75.c
View file @
331dc808
...
...
@@ -31,7 +31,6 @@
static
unsigned
short
normal_i2c
[]
=
{
I2C_CLIENT_END
};
static
unsigned
short
normal_i2c_range
[]
=
{
0x48
,
0x4f
,
I2C_CLIENT_END
};
static
unsigned
int
normal_isa
[]
=
{
I2C_CLIENT_ISA_END
};
static
unsigned
int
normal_isa_range
[]
=
{
I2C_CLIENT_ISA_END
};
/* Insmod parameters */
SENSORS_INSMOD_1
(
lm75
);
...
...
drivers/i2c/chips/lm77.c
View file @
331dc808
...
...
@@ -37,7 +37,6 @@
static
unsigned
short
normal_i2c
[]
=
{
I2C_CLIENT_END
};
static
unsigned
short
normal_i2c_range
[]
=
{
0x48
,
0x4b
,
I2C_CLIENT_END
};
static
unsigned
int
normal_isa
[]
=
{
I2C_CLIENT_ISA_END
};
static
unsigned
int
normal_isa_range
[]
=
{
I2C_CLIENT_ISA_END
};
/* Insmod parameters */
SENSORS_INSMOD_1
(
lm77
);
...
...
drivers/i2c/chips/lm78.c
View file @
331dc808
...
...
@@ -30,7 +30,6 @@
static
unsigned
short
normal_i2c
[]
=
{
I2C_CLIENT_END
};
static
unsigned
short
normal_i2c_range
[]
=
{
0x20
,
0x2f
,
I2C_CLIENT_END
};
static
unsigned
int
normal_isa
[]
=
{
0x0290
,
I2C_CLIENT_ISA_END
};
static
unsigned
int
normal_isa_range
[]
=
{
I2C_CLIENT_ISA_END
};
/* Insmod parameters */
SENSORS_INSMOD_3
(
lm78
,
lm78j
,
lm79
);
...
...
drivers/i2c/chips/lm80.c
View file @
331dc808
...
...
@@ -32,7 +32,6 @@
static
unsigned
short
normal_i2c
[]
=
{
I2C_CLIENT_END
};
static
unsigned
short
normal_i2c_range
[]
=
{
0x28
,
0x2f
,
I2C_CLIENT_END
};
static
unsigned
int
normal_isa
[]
=
{
I2C_CLIENT_ISA_END
};
static
unsigned
int
normal_isa_range
[]
=
{
I2C_CLIENT_ISA_END
};
/* Insmod parameters */
SENSORS_INSMOD_1
(
lm80
);
...
...
drivers/i2c/chips/lm83.c
View file @
331dc808
...
...
@@ -44,7 +44,6 @@ static unsigned short normal_i2c[] = { I2C_CLIENT_END };
static
unsigned
short
normal_i2c_range
[]
=
{
0x18
,
0x1a
,
0x29
,
0x2b
,
0x4c
,
0x4e
,
I2C_CLIENT_END
};
static
unsigned
int
normal_isa
[]
=
{
I2C_CLIENT_ISA_END
};
static
unsigned
int
normal_isa_range
[]
=
{
I2C_CLIENT_ISA_END
};
/*
* Insmod parameters
...
...
drivers/i2c/chips/lm85.c
View file @
331dc808
...
...
@@ -35,7 +35,6 @@
static
unsigned
short
normal_i2c
[]
=
{
0x2c
,
0x2d
,
0x2e
,
I2C_CLIENT_END
};
static
unsigned
short
normal_i2c_range
[]
=
{
I2C_CLIENT_END
};
static
unsigned
int
normal_isa
[]
=
{
I2C_CLIENT_ISA_END
};
static
unsigned
int
normal_isa_range
[]
=
{
I2C_CLIENT_ISA_END
};
/* Insmod parameters */
SENSORS_INSMOD_4
(
lm85b
,
lm85c
,
adm1027
,
adt7463
);
...
...
drivers/i2c/chips/lm87.c
View file @
331dc808
...
...
@@ -68,7 +68,6 @@
static
unsigned
short
normal_i2c
[]
=
{
I2C_CLIENT_END
};
static
unsigned
short
normal_i2c_range
[]
=
{
0x2c
,
0x2e
,
I2C_CLIENT_END
};
static
unsigned
int
normal_isa
[]
=
{
I2C_CLIENT_ISA_END
};
static
unsigned
int
normal_isa_range
[]
=
{
I2C_CLIENT_ISA_END
};
/*
* Insmod parameters
...
...
drivers/i2c/chips/lm90.c
View file @
331dc808
...
...
@@ -78,7 +78,6 @@
static
unsigned
short
normal_i2c
[]
=
{
0x4c
,
0x4d
,
I2C_CLIENT_END
};
static
unsigned
short
normal_i2c_range
[]
=
{
I2C_CLIENT_END
};
static
unsigned
int
normal_isa
[]
=
{
I2C_CLIENT_ISA_END
};
static
unsigned
int
normal_isa_range
[]
=
{
I2C_CLIENT_ISA_END
};
/*
* Insmod parameters
...
...
drivers/i2c/chips/max1619.c
View file @
331dc808
...
...
@@ -38,7 +38,6 @@ static unsigned short normal_i2c[] = { I2C_CLIENT_END };
static
unsigned
short
normal_i2c_range
[]
=
{
0x18
,
0x1a
,
0x29
,
0x2b
,
0x4c
,
0x4e
,
I2C_CLIENT_END
};
static
unsigned
int
normal_isa
[]
=
{
I2C_CLIENT_ISA_END
};
static
unsigned
int
normal_isa_range
[]
=
{
I2C_CLIENT_ISA_END
};
/*
* Insmod parameters
...
...
drivers/i2c/chips/pc87360.c
View file @
331dc808
...
...
@@ -45,7 +45,6 @@
static
unsigned
short
normal_i2c
[]
=
{
I2C_CLIENT_END
};
static
unsigned
short
normal_i2c_range
[]
=
{
I2C_CLIENT_END
};
static
unsigned
int
normal_isa
[]
=
{
0
,
I2C_CLIENT_ISA_END
};
static
unsigned
int
normal_isa_range
[]
=
{
I2C_CLIENT_ISA_END
};
static
struct
i2c_force_data
forces
[]
=
{{
NULL
}};
static
u8
devid
;
static
unsigned
int
extra_isa
[
3
];
...
...
@@ -56,7 +55,6 @@ static struct i2c_address_data addr_data = {
.
normal_i2c
=
normal_i2c
,
.
normal_i2c_range
=
normal_i2c_range
,
.
normal_isa
=
normal_isa
,
.
normal_isa_range
=
normal_isa_range
,
.
forces
=
forces
,
};
...
...
drivers/i2c/chips/pcf8574.c
View file @
331dc808
...
...
@@ -45,7 +45,6 @@
static
unsigned
short
normal_i2c
[]
=
{
I2C_CLIENT_END
};
static
unsigned
short
normal_i2c_range
[]
=
{
0x20
,
0x27
,
0x38
,
0x3f
,
I2C_CLIENT_END
};
static
unsigned
int
normal_isa
[]
=
{
I2C_CLIENT_ISA_END
};
static
unsigned
int
normal_isa_range
[]
=
{
I2C_CLIENT_ISA_END
};
/* Insmod parameters */
SENSORS_INSMOD_2
(
pcf8574
,
pcf8574a
);
...
...
drivers/i2c/chips/pcf8591.c
View file @
331dc808
...
...
@@ -30,7 +30,6 @@
static
unsigned
short
normal_i2c
[]
=
{
I2C_CLIENT_END
};
static
unsigned
short
normal_i2c_range
[]
=
{
0x48
,
0x4f
,
I2C_CLIENT_END
};
static
unsigned
int
normal_isa
[]
=
{
I2C_CLIENT_ISA_END
};
static
unsigned
int
normal_isa_range
[]
=
{
I2C_CLIENT_ISA_END
};
/* Insmod parameters */
SENSORS_INSMOD_1
(
pcf8591
);
...
...
drivers/i2c/chips/smsc47m1.c
View file @
331dc808
...
...
@@ -37,7 +37,6 @@ static unsigned short normal_i2c[] = { I2C_CLIENT_END };
static
unsigned
short
normal_i2c_range
[]
=
{
I2C_CLIENT_END
};
/* Address is autodetected, there is no default value */
static
unsigned
int
normal_isa
[]
=
{
0x0000
,
I2C_CLIENT_ISA_END
};
static
unsigned
int
normal_isa_range
[]
=
{
I2C_CLIENT_ISA_END
};
static
struct
i2c_force_data
forces
[]
=
{{
NULL
}};
enum
chips
{
any_chip
,
smsc47m1
};
...
...
@@ -45,7 +44,6 @@ static struct i2c_address_data addr_data = {
.
normal_i2c
=
normal_i2c
,
.
normal_i2c_range
=
normal_i2c_range
,
.
normal_isa
=
normal_isa
,
.
normal_isa_range
=
normal_isa_range
,
.
forces
=
forces
,
};
...
...
drivers/i2c/chips/via686a.c
View file @
331dc808
...
...
@@ -54,7 +54,6 @@ MODULE_PARM_DESC(force_addr,
static
unsigned
short
normal_i2c
[]
=
{
I2C_CLIENT_END
};
static
unsigned
short
normal_i2c_range
[]
=
{
I2C_CLIENT_END
};
static
unsigned
int
normal_isa
[]
=
{
0x0000
,
I2C_CLIENT_ISA_END
};
static
unsigned
int
normal_isa_range
[]
=
{
I2C_CLIENT_ISA_END
};
/* Insmod parameters */
SENSORS_INSMOD_1
(
via686a
);
...
...
drivers/i2c/chips/w83627hf.c
View file @
331dc808
...
...
@@ -59,7 +59,6 @@ MODULE_PARM_DESC(force_i2c,
static
unsigned
short
normal_i2c
[]
=
{
I2C_CLIENT_END
};
static
unsigned
short
normal_i2c_range
[]
=
{
I2C_CLIENT_END
};
static
unsigned
int
normal_isa
[]
=
{
0
,
I2C_CLIENT_ISA_END
};
static
unsigned
int
normal_isa_range
[]
=
{
I2C_CLIENT_ISA_END
};
/* Insmod parameters */
SENSORS_INSMOD_4
(
w83627hf
,
w83627thf
,
w83697hf
,
w83637hf
);
...
...
drivers/i2c/chips/w83781d.c
View file @
331dc808
...
...
@@ -52,7 +52,6 @@
static
unsigned
short
normal_i2c
[]
=
{
I2C_CLIENT_END
};
static
unsigned
short
normal_i2c_range
[]
=
{
0x20
,
0x2f
,
I2C_CLIENT_END
};
static
unsigned
int
normal_isa
[]
=
{
0x0290
,
I2C_CLIENT_ISA_END
};
static
unsigned
int
normal_isa_range
[]
=
{
I2C_CLIENT_ISA_END
};
/* Insmod parameters */
SENSORS_INSMOD_6
(
w83781d
,
w83782d
,
w83783s
,
w83627hf
,
as99127f
,
w83697hf
);
...
...
drivers/i2c/chips/w83l785ts.c
View file @
331dc808
...
...
@@ -49,7 +49,6 @@
static
unsigned
short
normal_i2c
[]
=
{
0x2e
,
I2C_CLIENT_END
};
static
unsigned
short
normal_i2c_range
[]
=
{
I2C_CLIENT_END
};
static
unsigned
int
normal_isa
[]
=
{
I2C_CLIENT_ISA_END
};
static
unsigned
int
normal_isa_range
[]
=
{
I2C_CLIENT_ISA_END
};
/*
* Insmod parameters
...
...
drivers/i2c/i2c-sensor-detect.c
View file @
331dc808
...
...
@@ -93,14 +93,6 @@ int i2c_detect(struct i2c_adapter *adapter,
found
=
1
;
}
}
for
(
i
=
0
;
!
found
&&
(
address_data
->
normal_isa_range
[
i
]
!=
I2C_CLIENT_ISA_END
);
i
+=
3
)
{
if
((
addr
>=
address_data
->
normal_isa_range
[
i
])
&&
(
addr
<=
address_data
->
normal_isa_range
[
i
+
1
])
&&
((
addr
-
address_data
->
normal_isa_range
[
i
])
%
address_data
->
normal_isa_range
[
i
+
2
]
==
0
))
{
dev_dbg
(
&
adapter
->
dev
,
"found normal isa_range entry for adapter %d, addr %04x"
,
adapter_id
,
addr
);
found
=
1
;
}
}
}
else
{
for
(
i
=
0
;
!
found
&&
(
address_data
->
normal_i2c
[
i
]
!=
I2C_CLIENT_END
);
i
+=
1
)
{
if
(
addr
==
address_data
->
normal_i2c
[
i
])
{
...
...
include/linux/i2c-sensor.h
View file @
331dc808
...
...
@@ -48,12 +48,6 @@ struct i2c_force_data {
addresses which should normally be examined.
normal_isa: filled in by the module writer. Terminated by SENSORS_ISA_END.
A list of ISA addresses which should normally be examined.
normal_isa_range: filled in by the module writer. Terminated by
SENSORS_ISA_END
A list of triples. The first two elements are ISA addresses, being an
range of addresses which should normally be examined. The third is the
modulo parameter: only addresses which are 0 module this value relative
to the first address of the range are actually considered.
probe: insmod parameter. Initialize this list with I2C_CLIENT_ISA_END values.
A list of pairs. The first value is a bus number (ANY_I2C_ISA_BUS for
the ISA bus, -1 for any I2C bus), the second is the address. These
...
...
@@ -70,7 +64,6 @@ struct i2c_address_data {
unsigned
short
*
normal_i2c
;
unsigned
short
*
normal_i2c_range
;
unsigned
int
*
normal_isa
;
unsigned
int
*
normal_isa_range
;
unsigned
short
*
probe
;
unsigned
short
*
ignore
;
struct
i2c_force_data
*
forces
;
...
...
@@ -92,7 +85,6 @@ struct i2c_address_data {
.normal_i2c = normal_i2c, \
.normal_i2c_range = normal_i2c_range, \
.normal_isa = normal_isa, \
.normal_isa_range = normal_isa_range, \
.probe = probe, \
.ignore = ignore, \
.forces = forces, \
...
...
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