From: Arend van Spriel Date: Tue, 27 May 2014 10:56:19 +0000 (+0200) Subject: brcmfmac: rework usb callback operations X-Git-Tag: omap-for-v3.16/fixes-against-rc1~36^2~99^2^2~29 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=4dd7de1f9e935373c64b5943055987170a0ef7b8;p=pandora-kernel.git brcmfmac: rework usb callback operations The resume callbacks do partly the same a the probe callback so put common code in separate function for use in the callbacks. This also fixes suspend/resume regression introduced by brcmfmac: remove .init() callback for internal bus interface The .init() callback was the first function called by the common bus function brcmf_bus_start(). Given that it is not really necessary and the bus layer can call it before calling the brcmf_bus_start() function. Reviewed-by: Hante Meuleman Reviewed-by: Pieter-Paul Giesberts Signed-off-by: Arend van Spriel Signed-off-by: John W. Linville --- Reading git-diff-tree failed