Re: [patch 01/28] I2O: remove class interface

From: Greg KH
Date: Tue Sep 27 2005 - 02:19:10 EST


On Thu, Sep 15, 2005 at 02:01:32AM -0500, Dmitry Torokhov wrote:
> I2O: remove i2o_device_class_interface misuse
>
> The intent of class interfaces was to provide different
> 'views' at the same object, not just run some code every
> time a new class device is registered. Kill interface
> structure, make class core register default attributes
> and set up sysfs links right when registering class
> devices.
>
> Signed-off-by: Dmitry Torokhov <dtor@xxxxxxx>

I've applied this. I've also cleaned up the class stuff some more and
converted the drivers/message/i2o/iop.c code to use the easier class and
class_device interfaces, as you should not have 2 refcounted structures
trying to control the same overall structure. The i2o device structure
is still like this and remains to be fixed up. If no one does it soon,
I'll clean it up too.

thanks,

greg k-h
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/