i2o: convert bus code to use dev_groups
The dev_attrs field of struct bus_type is going away soon, dev_groups should be used instead. This converts the i2o bus code to use the correct field. Cc: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
@@ -62,7 +62,7 @@ static int i2o_bus_match(struct device *dev, struct device_driver *drv)
|
||||
struct bus_type i2o_bus_type = {
|
||||
.name = "i2o",
|
||||
.match = i2o_bus_match,
|
||||
.dev_attrs = i2o_device_attrs
|
||||
.dev_groups = i2o_device_groups,
|
||||
};
|
||||
|
||||
/**
|
||||
|
Reference in New Issue
Block a user