From: Phil Carmody Date: Wed, 26 Jun 2013 07:56:35 +0000 (+0300) Subject: i2c: reduce parent checking to a NOOP in non-I2C_MUX case X-Git-Tag: v3.12-rc1~140^2~48 X-Git-Url: https://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=3923172b3d700486c1ca24df9c4c5405a83e2309;p=pandora-kernel.git i2c: reduce parent checking to a NOOP in non-I2C_MUX case In 0826374 - i2c: Multiplexed I2C bus core support core i2c code increased in size and complexity even when I2C_MUX wasn't selected. Turning this check into a constant NULL in the n case lets the client functions in be simplified too, not needing to include never-called calls to the mux-specific helpers. Signed-off-by: Phil Carmody Signed-off-by: Wolfram Sang --- Reading git-diff-tree failed