On Wed, Sep 23, 2009 at 12:42 PM, Peter Stuge peter@stuge.se wrote:
Myles Watson wrote:
Should I2C devices use objects, since you can't scan for them?
Making it a driver seems easier to enforce/explain since it provides an *_ops struct.
On the other hand a phony ops struct is bad in so many ways. Less is more, no?
My impression was that the ops struct works fine, but you can't scan for it because I2C is missing the equivalent of PCI vendor/device IDs. In what way is the ops struct phony?
Thanks, Myles