Hi all!

Could anyone explain a bit the "convenient" part of transferring bytes 
through sysfs. Both reading and writing seems requiring kobject 
reference to the client operation is directed to. I have tried finding 
ways getting the  kobject reference for required i2c client without 
getting too convinced without the my solutions. The best choice so far 
is using bus_for_each_dev -helper function scanning through all the i2c 
clients instantiated on i2c bus. That requires bus_type structure as its 
first parameter. Unfortunately i2c_bus_type is not exported at least in 
2.6.24 that I'm playing currently with. I've seen patch discussions 
related to exporting/not exporting i2c_bus_type. Do anyone know the 
current status/future plans with it or have other suggestions regarding 
this byte transfer structure through sysfs to i2c clients?

Thanks in advance,
Matti Kaasinen

_______________________________________________
i2c mailing list
[email protected]
http://lists.lm-sensors.org/mailman/listinfo/i2c

Reply via email to