From: Hante Meuleman Date: Thu, 15 Nov 2012 02:46:20 +0000 (-0800) Subject: brcmfmac: avoid usage of func->card->dev in sdio probe. X-Git-Tag: omap-for-v3.8/fixes-for-merge-window-v4-signed~45^2~174^2^2~57 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=5b3c183272ad261c4d8cef5b5277fd18514f6c27;p=pandora-kernel.git brcmfmac: avoid usage of func->card->dev in sdio probe. brcmf_ops_sdio_probe used the private_date func->card->dev to store device data of brcmfmac sdio. This is not a good place to store the data. Use dev of func and use func->card->sdio_func to group the functions the driver is using. Reviewed-by: Arend Van Spriel Reviewed-by: Pieter-Paul Giesberts Signed-off-by: Hante Meuleman Signed-off-by: Franky Lin Signed-off-by: John W. Linville --- Reading git-diff-tree failed