summaryrefslogtreecommitdiff
path: root/include/linux/i2c-sensor.h
diff options
context:
space:
mode:
authorGreg Kroah-Hartman <greg@kroah.com>2004-11-08 00:33:52 -0800
committerGreg Kroah-Hartman <greg@kroah.com>2004-11-08 00:33:52 -0800
commita3422b845251c5b208a6853b75c4cd6dea3f2ec7 (patch)
treea5c4b93eae6201a2eca39b62374e74cc6ec9da0d /include/linux/i2c-sensor.h
parent4e894b7883f3f2537e21c4156f6979fb901cdf4a (diff)
I2C: remove probe_range from I2C sensor drivers, as it's not used.
Signed-off-by: Greg Kroah-Hartman <greg@kroah.com>
Diffstat (limited to 'include/linux/i2c-sensor.h')
-rw-r--r--include/linux/i2c-sensor.h11
1 files changed, 0 insertions, 11 deletions
diff --git a/include/linux/i2c-sensor.h b/include/linux/i2c-sensor.h
index 6db8f915147e..9b1c31180c69 100644
--- a/include/linux/i2c-sensor.h
+++ b/include/linux/i2c-sensor.h
@@ -58,12 +58,6 @@ struct i2c_force_data {
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
addresses are also probed, as if they were in the 'normal' list.
- probe_range: insmod parameter. Initialize this list with I2C_CLIENT_ISA_END
- values.
- A list of triples. The first value is a bus number (ANY_I2C_ISA_BUS for
- the ISA bus, -1 for any I2C bus), the second and third are addresses.
- These form an inclusive range of addresses that are also probed, as
- if they were in the 'normal' list.
ignore: 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 I2C address. These
@@ -84,7 +78,6 @@ struct i2c_address_data {
unsigned int *normal_isa;
unsigned int *normal_isa_range;
unsigned short *probe;
- unsigned short *probe_range;
unsigned short *ignore;
unsigned short *ignore_range;
struct i2c_force_data *forces;
@@ -100,9 +93,6 @@ struct i2c_address_data {
#define SENSORS_INSMOD \
I2C_CLIENT_MODULE_PARM(probe, \
"List of adapter,address pairs to scan additionally"); \
- I2C_CLIENT_MODULE_PARM(probe_range, \
- "List of adapter,start-addr,end-addr triples to scan " \
- "additionally"); \
I2C_CLIENT_MODULE_PARM(ignore, \
"List of adapter,address pairs not to scan"); \
I2C_CLIENT_MODULE_PARM(ignore_range, \
@@ -114,7 +104,6 @@ struct i2c_address_data {
.normal_isa = normal_isa, \
.normal_isa_range = normal_isa_range, \
.probe = probe, \
- .probe_range = probe_range, \
.ignore = ignore, \
.ignore_range = ignore_range, \
.forces = forces, \