commit | 3923172b3d700486c1ca24df9c4c5405a83e2309 | [log] [tgz] |
---|---|---|
author | Phil Carmody <phil.carmody@partner.samsung.com> | Wed Jun 26 10:56:35 2013 +0300 |
committer | Wolfram Sang <wsa@the-dreams.de> | Wed Aug 07 16:58:08 2013 +0200 |
tree | b7f9ec98c0f30b21c7cf08874ae2f2fce2309f66 | |
parent | 825642455367e5498da82a8044dd345ac7869c8d [diff] |
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 <phil.carmody@partner.samsung.com> Signed-off-by: Wolfram Sang <wsa@the-dreams.de>