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>
This commit is contained in:
Родитель
9cb2c2726e
Коммит
d57558d0f3
|
@ -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, ' ');
|
||||||
|
|
Загрузка…
Ссылка в новой задаче