Is i2c_adapter.class relevant anymore with new style drivers?

On 1/2/08, Jon Smirl <[EMAIL PROTECTED]> wrote:
> On 1/2/08, Jochen Friedrich <[EMAIL PROTECTED]> wrote:
> > IMHO, there should be a node attribute to override i2c_adapter.class. 
> > Legacy i2c drivers (in particular v4l and dvb drivers) use this class to 
> > decide which adapter to bind to. dbox2 needs I2C_CLASS_TV_DIGITAL (4).
>
> I hadn't paid any attention to i2c_adapter.class. Now that you mention
> it I wonder why i2c has it.  It appears to be a holdover from the
> older mechanism of searching for devices and it is used as a filter to
> reduce the number of device being searched. I would think a new style
> driver could just ignore it.
>
> It is probably best to fix it in a successive patch.
>

-- 
Jon Smirl
[EMAIL PROTECTED]

_______________________________________________
i2c mailing list
i2c@lm-sensors.org
http://lists.lm-sensors.org/mailman/listinfo/i2c

Reply via email to