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

Convert PNP patch (git 9e368fa011) 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: Myron Stowe <myron.stowe@hp.com>
Acked-by: Zhao Yakui <yakui.zhao@intel.com>
Acked-by: Corey Minyard <minyard@acm.org>
Cc: Len Brown <lenb@kernel.org>
Cc: Bjorn Helgaas <bjorn.helgaas@hp.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
This commit is contained in:
Myron Stowe 2010-05-26 14:43:51 -07:00 коммит произвёл Linus Torvalds
Родитель ddac44b7b2
Коммит 8c8eae2742
1 изменённых файлов: 1 добавлений и 1 удалений

Просмотреть файл

@ -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);