|
@@ -892,7 +892,8 @@ i2c_sysfs_delete_device(struct device *dev, struct device_attribute *attr,
|
|
}
|
|
}
|
|
|
|
|
|
static DEVICE_ATTR(new_device, S_IWUSR, NULL, i2c_sysfs_new_device);
|
|
static DEVICE_ATTR(new_device, S_IWUSR, NULL, i2c_sysfs_new_device);
|
|
-static DEVICE_ATTR(delete_device, S_IWUSR, NULL, i2c_sysfs_delete_device);
|
|
|
|
|
|
+static DEVICE_ATTR_IGNORE_LOCKDEP(delete_device, S_IWUSR, NULL,
|
|
|
|
+ i2c_sysfs_delete_device);
|
|
|
|
|
|
static struct attribute *i2c_adapter_attrs[] = {
|
|
static struct attribute *i2c_adapter_attrs[] = {
|
|
&dev_attr_name.attr,
|
|
&dev_attr_name.attr,
|