driver core: Suppress sysfs warnings for device_rename().
authorCornelia Huck <cornelia.huck@de.ibm.com>
Tue, 10 Jun 2008 09:09:08 +0000 (11:09 +0200)
committerGreg Kroah-Hartman <gregkh@suse.de>
Tue, 22 Jul 2008 04:55:01 +0000 (21:55 -0700)
driver core: Suppress sysfs warnings for device_rename().

Renaming network devices to an already existing name is not
something we want sysfs to print a scary warning for, since the
callers can deal with this correctly. So let's introduce
sysfs_create_link_nowarn() which gets rid of the common warning.

Signed-off-by: Cornelia Huck <cornelia.huck@de.ibm.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>

No differences found