Skip to content

Commit

Permalink
i2c: Discard warning message on device instantiation from user-space
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Jean Delvare authored and Jean Delvare committed Oct 24, 2010
1 parent 9cb2c27 commit d57558d
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions drivers/i2c/i2c-core.c
Original file line number Diff line number Diff line change
Expand Up @@ -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, ' ');
Expand Down

0 comments on commit d57558d

Please sign in to comment.