summaryrefslogtreecommitdiffstats
path: root/drivers/pci/hotplug/pcihp_skeleton.c
diff options
context:
space:
mode:
authorKenji Kaneshige <kaneshige.kenji@jp.fujitsu.com>2009-06-16 04:02:02 +0200
committerJesse Barnes <jbarnes@virtuousgeek.org>2009-06-16 23:30:12 +0200
commita6c0d5c6ebb3d988b1f18a1612b5188f3f555637 (patch)
treea2053da4e1db2604b28d41b17e9315a17889eb02 /drivers/pci/hotplug/pcihp_skeleton.c
parentPCI hotplug: create symlink to hotplug driver module (diff)
downloadlinux-a6c0d5c6ebb3d988b1f18a1612b5188f3f555637.tar.xz
linux-a6c0d5c6ebb3d988b1f18a1612b5188f3f555637.zip
PCI hotplug: remove redundant .owner initializations
The "owner" field in struct hotplug_slot_ops is initialized by PCI hotplug core. So each hotplug controller driver doesn't need to initialize it. Signed-off-by: Kenji Kaneshige <kaneshige.kenji@jp.fujitsu.com> Reviewed-by: Alex Chiang <achiang@hp.com> Signed-off-by: Jesse Barnes <jbarnes@virtuousgeek.org>
Diffstat (limited to 'drivers/pci/hotplug/pcihp_skeleton.c')
-rw-r--r--drivers/pci/hotplug/pcihp_skeleton.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/pci/hotplug/pcihp_skeleton.c b/drivers/pci/hotplug/pcihp_skeleton.c
index e3dd6cf9e89f..5175d9b26f0b 100644
--- a/drivers/pci/hotplug/pcihp_skeleton.c
+++ b/drivers/pci/hotplug/pcihp_skeleton.c
@@ -82,7 +82,6 @@ static int get_latch_status (struct hotplug_slot *slot, u8 *value);
static int get_adapter_status (struct hotplug_slot *slot, u8 *value);
static struct hotplug_slot_ops skel_hotplug_slot_ops = {
- .owner = THIS_MODULE,
.enable_slot = enable_slot,
.disable_slot = disable_slot,
.set_attention_status = set_attention_status,