]> git.karo-electronics.de Git - karo-tx-linux.git/blobdiff - fs/sysfs/bin.c
sysfs: remove sysfs_buffer->ops
[karo-tx-linux.git] / fs / sysfs / bin.c
index c590cabd57bbd8b76c9ca5a3aa210c93dbb9927f..d49e6ca3345b97c6e9df8e8d96c263de2e7b16fe 100644 (file)
@@ -497,6 +497,6 @@ EXPORT_SYMBOL_GPL(sysfs_create_bin_file);
 void sysfs_remove_bin_file(struct kobject *kobj,
                           const struct bin_attribute *attr)
 {
-       sysfs_hash_and_remove(kobj->sd, NULL, attr->attr.name);
+       sysfs_hash_and_remove(kobj->sd, attr->attr.name, NULL);
 }
 EXPORT_SYMBOL_GPL(sysfs_remove_bin_file);