summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJean Delvare <khali@linux-fr.org>2010-10-24 20:16:58 +0400
committerJean Delvare <khali@endymion.delvare>2010-10-24 20:16:58 +0400
commitd57558d0f3b41bb260aaa327150d49f1810461f5 (patch)
treedcc8f44cac1bd2ebc6c63b83d9096d7a061a4ccb
parent9cb2c2726e9ae212ccaeecd3eaadcd8d49ac7400 (diff)
downloadlinux-d57558d0f3b41bb260aaa327150d49f1810461f5.tar.xz
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>
-rw-r--r--drivers/i2c/i2c-core.c2
1 files changed, 0 insertions, 2 deletions
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, ' ');