projects
/
linux-2.6-block.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
sysfs: kill unnecessary attribute->owner
[linux-2.6-block.git]
/
drivers
/
w1
/
w1.c
diff --git
a/drivers/w1/w1.c
b/drivers/w1/w1.c
index 7d6876dbcc96a6dcf5cb85f12eb3a10045e52123..1838cb29b646d7c82d02e32fef9ec92284e4ee2e 100644
(file)
--- a/
drivers/w1/w1.c
+++ b/
drivers/w1/w1.c
@@
-128,7
+128,6
@@
static struct bin_attribute w1_slave_attr_bin_id = {
.attr = {
.name = "id",
.mode = S_IRUGO,
- .owner = THIS_MODULE,
},
.size = 8,
.read = w1_slave_read_id,
@@
-167,7
+166,6
@@
static struct bin_attribute w1_default_attr = {
.attr = {
.name = "rw",
.mode = S_IRUGO | S_IWUSR,
- .owner = THIS_MODULE,
},
.size = PAGE_SIZE,
.read = w1_default_read,