From: Jean Delvare Date: Sun, 24 Oct 2010 16:16:57 +0000 (+0200) Subject: i2c: Simplify i2c_parent_is_i2c_adapter X-Git-Tag: v2.6.37-rc1~143^2~10 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d582963a027fd63f8dfc97a0bf3654d4380e34ce;p=pandora-kernel.git i2c: Simplify i2c_parent_is_i2c_adapter Only i2c devices can have their type set to i2c_adapter_type, so testing the bus type is redundant. Signed-off-by: Jean Delvare Cc: Michael Lawnick --- Reading git-diff-tree failed