commit | d582963a027fd63f8dfc97a0bf3654d4380e34ce | [log] [tgz] |
---|---|---|
author | Jean Delvare <khali@linux-fr.org> | Sun Oct 24 18:16:57 2010 +0200 |
committer | Jean Delvare <khali@endymion.delvare> | Sun Oct 24 18:16:57 2010 +0200 |
tree | 287fbd7e600b91623bf5b9c0be301d479eceb56b | |
parent | 323584436db0cb05286425d4dfd9516fce88487f [diff] |
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 <khali@linux-fr.org> Cc: Michael Lawnick <ml.lawnick@gmx.de>