rt2x00: don't use to_pci_dev in rt2x00pci_uninitialize
authorHelmut Schaa <helmut.schaa@googlemail.com>
Wed, 19 May 2010 06:47:59 +0000 (08:47 +0200)
committerJohn W. Linville <linville@tuxdriver.com>
Mon, 24 May 2010 18:59:25 +0000 (14:59 -0400)
Don't use to_pci_dev in rt2x00pci_uninitialize to get the allocated irq
as it won't work for platform devices (SoC). Instead, use the irq field
that's already used everywhere else.

Signed-off-by: Helmut Schaa <helmut.schaa@googlemail.com>
Acked-by: Ivo van Doorn <IvDoorn@gmail.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>

No differences found