From: Emmanuel Grumbach Date: Tue, 31 May 2011 05:52:10 +0000 (+0300) Subject: iwlagn: add get_dev to iwl_bus_ops X-Git-Tag: v3.1-rc1~316^2~350^2^2~66^2~17 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=3599d39a8525b01540e2c7ec8c5d0df0dd11d6cf;p=pandora-kernel.git iwlagn: add get_dev to iwl_bus_ops Bus specific layer must know how to return the struct device* of the device. Implement that as a callback of iwl_bus_ops and use that callback instead of using the priv->pdev pointer which is meant to disappear soon. Since the struct device * is needed in hot path, iwl_bus holds a pointer to it instead of calling get_dev all the time. Signed-off-by: Emmanuel Grumbach Signed-off-by: Wey-Yi Guy --- Reading git-diff-tree failed