Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit c1083732 authored by Andre Richter's avatar Andre Richter Committed by Linus Torvalds
Browse files

Documentation/filesystems/sysfs.txt: fix device_attribute declaration



Fix a wrong device_attribute declaration example.

Signed-off-by: default avatarAndre Richter <andre.o.richter@gmail.com>
Cc: Greg KH <greg@kroah.com>
Signed-off-by: default avatarAndrew Morton <akpm@linux-foundation.org>
Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
parent d74a054f
Loading
Loading
Loading
Loading
+3 −3
Original line number Diff line number Diff line
@@ -111,9 +111,9 @@ static struct device_attribute dev_attr_foo = {
	.attr = {
		.name = "foo",
		.mode = S_IWUSR | S_IRUGO,
	},
	.show = show_foo,
	.store = store_foo,
	},
};