diff options
author | Cornelia Huck <cornelia.huck@de.ibm.com> | 2007-07-18 10:43:47 +0200 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2007-07-19 00:49:50 +0200 |
commit | 2ee97caf0a6602f749ddbfdb1449e383e1212707 (patch) | |
tree | 6f0fb8f1c856aeb20149a73b1cb85ba943d11ce8 /drivers/net/tg3.h | |
parent | HOWTO: Add the knwon_regression URI to the documentation (diff) | |
download | linux-2ee97caf0a6602f749ddbfdb1449e383e1212707.tar.xz linux-2ee97caf0a6602f749ddbfdb1449e383e1212707.zip |
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>
Diffstat (limited to 'drivers/net/tg3.h')
0 files changed, 0 insertions, 0 deletions