mirror of
https://github.com/torvalds/linux.git
synced 2024-12-04 01:51:34 +00:00
ef8dec5d8b
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> |
||
---|---|---|
.. | ||
algos | ||
busses | ||
chips | ||
i2c-core.c | ||
i2c-dev.c | ||
i2c-sensor-detect.c | ||
i2c-sensor-vid.c | ||
Kconfig | ||
Makefile |