Skip to content
Snippets Groups Projects
Commit d582963a authored by Jean Delvare's avatar Jean Delvare Committed by Jean Delvare
Browse files

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: default avatarJean Delvare <khali@linux-fr.org>
Cc: Michael Lawnick <ml.lawnick@gmx.de>
parent 32358443
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment