mirror of
https://github.com/torvalds/linux.git
synced 2026-05-09 08:39:47 -04:00
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>