Hi Jean, Jean Delvare said the following: > > Hi Michael, ... > > I would walk the device tree maintained by the driver core (using > > device_for_each_child) and filtering out irrelevant devices. Basically > > filtering on dev->type == &i2c_adapter_type should do the trick, > > methinks. > > You are right, I missed that somehow when investigating for a solution. Until your post I was convinced that the adapters are all registered to bus only. I now rechecked by some small code and found that I can throw away these awefull lists. Iteration will follow. -- KR Michael -- To unsubscribe from this list: send the line "unsubscribe linux-i2c" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html