From: Vladimir Kondratiev Date: Mon, 1 Dec 2014 13:33:18 +0000 (+0200) Subject: wil6210: remove wil_to_pcie_dev() X-Git-Tag: omap-for-v3.20/drop-legacy-3517~122^2~28^2~23 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=6992991346e820ca031efee95c769e45649f79fc;p=pandora-kernel.git wil6210: remove wil_to_pcie_dev() There is no need to obtain physical device through wil->pdev->dev path, as it is done by this macro. The same device already stored as wiphy's device, thus wil_to_dev() returns the same device as wil_to_pcie_dev() Remove unnecessary macros, this allows to drop dependency by pci.h in the firmware download code. Signed-off-by: Vladimir Kondratiev Signed-off-by: John W. Linville --- Reading git-diff-tree failed