Commit 8c8eae27 authored by Myron Stowe's avatar Myron Stowe Committed by Linus Torvalds

ipmi: convert tracking of the ACPI device pointer to a PNP device

Convert PNP patch (git 9e368fa0) to
maintain a pointer to a PNP device, 'pnp_dev', instead of the ACPI device,
'acpi_dev', that is currently being tracked with PNP based IPMI device
discovery.
Signed-off-by: default avatarMyron Stowe <myron.stowe@hp.com>
Acked-by: default avatarZhao Yakui <yakui.zhao@intel.com>
Acked-by: default avatarCorey Minyard <minyard@acm.org>
Cc: Len Brown <lenb@kernel.org>
Cc: Bjorn Helgaas <bjorn.helgaas@hp.com>
Signed-off-by: default avatarAndrew Morton <akpm@linux-foundation.org>
Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
parent ddac44b7
......@@ -2183,7 +2183,7 @@ static int __devinit ipmi_pnp_probe(struct pnp_dev *dev,
info->irq_setup = std_irq_setup;
}
info->dev = &acpi_dev->dev;
info->dev = &dev->dev;
pnp_set_drvdata(dev, info);
return add_smi(info);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment