]> git.karo-electronics.de Git - karo-tx-linux.git/blobdiff - drivers/rapidio/rio-sysfs.c
USB: musb_gadget: fix STALL handling
[karo-tx-linux.git] / drivers / rapidio / rio-sysfs.c
index 97a147f050d623addeed0927f93fa46ee2153b9b..ba742e82c57d1e1296b7c3bc5e564419bed97cda 100644 (file)
@@ -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;
 }
 
 /**