From: Sergei Shtylyov Date: Wed, 7 Feb 2007 17:17:54 +0000 (+0100) Subject: hpt366: switch to using pci_get_slot X-Git-Tag: v2.6.21-rc2~42^2~7^2~19 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b4586715d7944dfbcb2b6b76a0098413cf3222e4;p=pandora-kernel.git hpt366: switch to using pci_get_slot Switch to using pci_get_slot() to get to the function 1 of HPT36x/374 chips -- there's no need for the driver itself to walk the list of the PCI devices, and it also forgets to check the bus number of the device found. Signed-off-by: Sergei Shtylyov Cc: Alan Cox Signed-off-by: Andrew Morton Signed-off-by: Bartlomiej Zolnierkiewicz --- Reading git-diff-tree failed