aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/drivers/i2c/i2c-dev.c
diff options
context:
space:
mode:
authorJean Delvare <khali@linux-fr.org>2010-10-24 18:16:57 +0200
committerJean Delvare <khali@endymion.delvare>2010-10-24 18:16:57 +0200
commitd582963a027fd63f8dfc97a0bf3654d4380e34ce (patch)
tree287fbd7e600b91623bf5b9c0be301d479eceb56b /drivers/i2c/i2c-dev.c
parenti2c-pca-platform: Change device name of request_irq (diff)
downloadwireguard-linux-d582963a027fd63f8dfc97a0bf3654d4380e34ce.tar.xz
wireguard-linux-d582963a027fd63f8dfc97a0bf3654d4380e34ce.zip
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>
Diffstat (limited to 'drivers/i2c/i2c-dev.c')
0 files changed, 0 insertions, 0 deletions