From: Arend van Spriel Date: Fri, 5 Apr 2013 08:57:47 +0000 (+0200) Subject: brcmfmac: remove use of unconditional access of struct wireless_dev::netdev X-Git-Tag: omap-for-v3.10/dt-fixes-for-merge-window~65^2~170^2^2~8 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=7fa2e3529c51f1c3590964c1746cc48d04cbc0ab;p=pandora-kernel.git brcmfmac: remove use of unconditional access of struct wireless_dev::netdev With the introduction of the P2P_DEVICE interface type an instance of struct wireless_dev does not always have a netdev assigned to it. Better use container_of() construct to obtain internal structure and go from there. Reviewed-by: Pieter-Paul Giesberts Reviewed-by: Piotr Haber Reviewed-by: Hante Meuleman Signed-off-by: Arend van Spriel Signed-off-by: John W. Linville --- Reading git-diff-tree failed