瀏覽代碼

i2c: Discard warning message on device instantiation from user-space

The "new_device" sysfs interface has been there for quite some time
now, nobody complained about it so it must be good enough. Time to
remove the warning and call it stable.

Signed-off-by: Jean Delvare <khali@linux-fr.org>
Acked-by: Michael Lawnick <ml.lawnick@gmx.de>
Jean Delvare 14 年之前
父節點
當前提交
d57558d0f3
共有 1 個文件被更改,包括 0 次插入2 次删除
  1. 0 2
      drivers/i2c/i2c-core.c

+ 0 - 2
drivers/i2c/i2c-core.c

@@ -683,8 +683,6 @@ i2c_sysfs_new_device(struct device *dev, struct device_attribute *attr,
 	char *blank, end;
 	char *blank, end;
 	int res;
 	int res;
 
 
-	dev_warn(dev, "The new_device interface is still experimental "
-		 "and may change in a near future\n");
 	memset(&info, 0, sizeof(struct i2c_board_info));
 	memset(&info, 0, sizeof(struct i2c_board_info));
 
 
 	blank = strchr(buf, ' ');
 	blank = strchr(buf, ' ');