From: Andrew Armenia Date: Tue, 24 Jul 2012 12:13:56 +0000 (+0200) Subject: i2c-piix4: Eliminate piix4_smba global variable X-Git-Tag: v3.6-rc1~116^2~17 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=14a8086d27ad9761d505489d5a239f21cd67ef0f;p=pandora-kernel.git i2c-piix4: Eliminate piix4_smba global variable Some chipsets have multiple sets of piix4-compatible SMBus registers. Eliminating the global variable will allow these chipsets to be fully supported. Return value from piix4_setup and piix4_sb800_setup now returns the smba value detected. This is stored in a struct i2c_piix4_adapdata. Thus the global variable is eliminated. Signed-off-by: Andrew Armenia Signed-off-by: Jean Delvare --- Reading git-diff-tree failed