Cornelia Huck 2ee97caf0a Driver core: check return code of sysfs_create_link()
Check for return value of sysfs_create_link() in device_add() and
device_rename().  Add helper functions device_add_class_symlinks() and
device_remove_class_symlinks() to make the code easier to read.

[akpm@linux-foundation.org: fix unused var warnings]

Signed-off-by: Cornelia Huck <cornelia.huck@de.ibm.com>
Acked-by: Jeff Garzik <jeff@garzik.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
2007-07-18 15:49:50 -07:00
..
2007-07-18 08:47:40 -07:00
2007-07-18 02:13:42 -07:00
2007-07-17 17:26:24 -04:00
2007-07-18 08:47:40 -07:00
2007-07-18 16:59:17 +03:00
2007-07-18 08:47:40 -07:00
2007-07-18 08:47:40 -07:00
2007-07-18 08:38:22 -07:00
2007-07-18 08:38:22 -07:00
2007-07-18 08:47:44 -07:00