summaryrefslogtreecommitdiffstats
path: root/drivers
diff options
context:
space:
mode:
Diffstat (limited to 'drivers')
-rw-r--r--drivers/pci/pci-label.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/pci/pci-label.c b/drivers/pci/pci-label.c
index 111500e86f94..90c0a729cd3a 100644
--- a/drivers/pci/pci-label.c
+++ b/drivers/pci/pci-label.c
@@ -97,12 +97,12 @@ smbiosinstance_show(struct device *dev,
}
static struct device_attribute smbios_attr_label = {
- .attr = {.name = "label", .mode = 0444, .owner = THIS_MODULE},
+ .attr = {.name = "label", .mode = 0444},
.show = smbioslabel_show,
};
static struct device_attribute smbios_attr_instance = {
- .attr = {.name = "index", .mode = 0444, .owner = THIS_MODULE},
+ .attr = {.name = "index", .mode = 0444},
.show = smbiosinstance_show,
};
OpenPOWER on IntegriCloud