From: Jean Delvare Date: Sun, 24 Oct 2010 16:16:58 +0000 (+0200) Subject: i2c: Discard warning message on device instantiation from user-space X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=d57558d0f3b41bb260aaa327150d49f1810461f5;p=linux-beck.git 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 Acked-by: Michael Lawnick --- diff --git a/drivers/i2c/i2c-core.c b/drivers/i2c/i2c-core.c index 40e563de0508..bdadfaf3fe10 100644 --- a/drivers/i2c/i2c-core.c +++ b/drivers/i2c/i2c-core.c @@ -683,8 +683,6 @@ i2c_sysfs_new_device(struct device *dev, struct device_attribute *attr, char *blank, end; 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)); blank = strchr(buf, ' ');