Skip to contentSkip to conversation

documentation-filesystems-sysfstxt-fix-device_attribute-declaration.patch removed from -mm tree

merged [email protected] 1 participant 1 message Jan 24, 2014 Documentation

lore
Share & tools
lore
#0 lore raw

Subject: [merged] documentation-filesystems-sysfstxt-fix-device_attribute-declaration.patch removed from -mm tree
To: [email protected],[email protected],[email protected]
From: [email protected]
Date: Fri, 24 Jan 2014 11:03:14 -0800

The patch titled
Subject: Documentation/filesystems/sysfs.txt: fix device_attribute declaration
has been removed from the -mm tree. Its filename was
documentation-filesystems-sysfstxt-fix-device_attribute-declaration.patch

This patch was dropped because it was merged into mainline or a subsystem tree

------------------------------------------------------
From: Andre Richter <[email protected]>
Subject: Documentation/filesystems/sysfs.txt: fix device_attribute declaration

Fix a wrong device_attribute declaration example.

---

 Documentation/filesystems/sysfs.txt |    6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)
Documentation/filesystems/sysfs.txt renamed from Documentation/filesystems/sysfs.txt~documentation-filesystems-sysfstxt-fix-device_attribute-declaration +3 -3
diff -puN Documentation/filesystems/sysfs.txt~documentation-filesystems-sysfstxt-fix-device_attribute-declaration Documentation/filesystems/sysfs.txt
@@ -108,12 +108,12 @@ static DEVICE_ATTR(foo, S_IWUSR | S_IRUG
 is equivalent to doing:
 
 static struct device_attribute dev_attr_foo = {
-       .attr	= {
+	.attr = {
 		.name = "foo",
 		.mode = S_IWUSR | S_IRUGO,
-		.show = show_foo,
-		.store = store_foo,
 	},
+	.show = show_foo,
+	.store = store_foo,
 };
 
 

_

Patches currently in -mm which might be from [email protected] are

origin.patch