diff options
author | Kenji Kaneshige <kaneshige.kenji@jp.fujitsu.com> | 2006-01-25 19:58:30 -0500 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2006-03-23 17:35:11 -0500 |
commit | a4534560815ffc525bfbe465a290ce048aab4c01 (patch) | |
tree | 28a444dc6b9667bdf16f83ab7a339ff7c5e820a2 /drivers/pci/hotplug/shpchp_ctrl.c | |
parent | 5b1a960d180e9660a87b0c661a754efabc1b1d3a (diff) |
[PATCH] shpchp - cleanup controller list
This patch changes SHPCHP driver to use list_head structure for
managing controller list.
Signed-off-by: Kenji Kaneshige <kaneshige.kenji@jp.fujitsu.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers/pci/hotplug/shpchp_ctrl.c')
-rw-r--r-- | drivers/pci/hotplug/shpchp_ctrl.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/pci/hotplug/shpchp_ctrl.c b/drivers/pci/hotplug/shpchp_ctrl.c index 65e69252e2f9..3a8e733aead5 100644 --- a/drivers/pci/hotplug/shpchp_ctrl.c +++ b/drivers/pci/hotplug/shpchp_ctrl.c | |||
@@ -688,7 +688,7 @@ static int event_thread(void* data) | |||
688 | if (pushbutton_pending) | 688 | if (pushbutton_pending) |
689 | shpchp_pushbutton_thread(pushbutton_pending); | 689 | shpchp_pushbutton_thread(pushbutton_pending); |
690 | else | 690 | else |
691 | for (ctrl = shpchp_ctrl_list; ctrl; ctrl=ctrl->next) | 691 | list_for_each_entry(ctrl, &shpchp_ctrl_list, ctrl_list) |
692 | interrupt_event_handler(ctrl); | 692 | interrupt_event_handler(ctrl); |
693 | } | 693 | } |
694 | dbg("event_thread signals exit\n"); | 694 | dbg("event_thread signals exit\n"); |