diff options
author | Jean Delvare <khali@linux-fr.org> | 2005-07-31 21:33:23 +0200 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2005-09-05 18:14:18 +0200 |
commit | ef8dec5d8b3e96e359f377f35cd8caff42fe6d58 (patch) | |
tree | ca83d278af5da3dfc9ef01f1d5bf479e67229d25 /drivers/hwmon/lm80.c | |
parent | [PATCH] hwmon: hwmon vs i2c, second round (01/11) (diff) | |
download | linux-ef8dec5d8b3e96e359f377f35cd8caff42fe6d58.tar.xz linux-ef8dec5d8b3e96e359f377f35cd8caff42fe6d58.zip |
[PATCH] hwmon: hwmon vs i2c, second round (02/11)
The way i2c-sensor handles forced addresses could be optimized. It
defines a structure (i2c_force_data) to associate a module parameter
with a given kind value, but in fact this kind value is always the
index of the structure in each array it is used in. So this additional
value can be omitted, and still be deduced in the code handling these
arrays.
Signed-off-by: Jean Delvare <khali@linux-fr.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers/hwmon/lm80.c')
0 files changed, 0 insertions, 0 deletions