git://ftp.safe.ca
/
safe
/
jmp
/
linux-2.6
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
KVM: Drop useless atomic test from timer function
[safe/jmp/linux-2.6]
/
drivers
/
rapidio
/
rio-sysfs.c
diff --git
a/drivers/rapidio/rio-sysfs.c
b/drivers/rapidio/rio-sysfs.c
index
97a147f
..
ba742e8
100644
(file)
--- a/
drivers/rapidio/rio-sysfs.c
+++ b/
drivers/rapidio/rio-sysfs.c
@@
-214,9
+214,11
@@
static struct bin_attribute rio_config_attr = {
*/
int rio_create_sysfs_dev_files(struct rio_dev *rdev)
{
-
sysfs_create_bin_file(&rdev->dev.kobj, &rio_config_attr)
;
+
int err = 0
;
- return 0;
+ err = sysfs_create_bin_file(&rdev->dev.kobj, &rio_config_attr);
+
+ return err;
}
/**