From: Jean Delvare Date: Sun, 31 Jul 2005 19:33:23 +0000 (+0200) Subject: [PATCH] hwmon: hwmon vs i2c, second round (02/11) X-Git-Tag: v2.6.14-rc1~752^2~33 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ef8dec5d8b3e96e359f377f35cd8caff42fe6d58;p=pandora-kernel.git [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 Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed