From: David Brownell Date: Sat, 13 Oct 2007 21:56:32 +0000 (+0200) Subject: i2c: Remove i2c_algorithm.algo_control() X-Git-Tag: v2.6.24-rc1~1343 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=53be79593452e568a856f8393985131848d59b72;p=pandora-kernel.git i2c: Remove i2c_algorithm.algo_control() This removes: - An effectively unused hook: i2c_algorithm.algo_control. - The i2c_control() call, used only by i2c-dev to call that unused hook or set two barely supported adapter params. (That param setting moves into i2c-dev.c ... still iffy due to lack of locking, but no other changes.) As shown by diffstat, this is a net code shrink. It also reduces the complexity of the I2C adapter and /dev interfaces. Signed-off-by: David Brownell Signed-off-by: Jean Delvare --- Reading git-diff-tree failed