]> git.proxmox.com Git - mirror_ubuntu-disco-kernel.git/commit
i2c: Let i2c_parent_is_i2c_adapter return the parent adapter
authorJean Delvare <khali@linux-fr.org>
Sun, 24 Oct 2010 16:16:57 +0000 (18:16 +0200)
committerJean Delvare <khali@endymion.delvare>
Sun, 24 Oct 2010 16:16:57 +0000 (18:16 +0200)
commit97cc4d49cfcda1c2dad89c00b62a25b628ce2115
tree1c9120a9e5db76df3f82338c64a2a19d88aedcbc
parentd582963a027fd63f8dfc97a0bf3654d4380e34ce
i2c: Let i2c_parent_is_i2c_adapter return the parent adapter

This makes the calling site's code clearer IMHO.

Signed-off-by: Jean Delvare <khali@linux-fr.org>
Acked-by: Michael Lawnick <ml.lawnick@gmx.de>
drivers/i2c/i2c-core.c
drivers/i2c/i2c-dev.c
include/linux/i2c.h