From: Chen-Yu Tsai Date: Fri, 17 Jan 2014 13:24:42 +0000 (+0800) Subject: net: stmmac: Allocate and pass soc/board specific data to callbacks X-Git-Tag: v3.14-rc1~94^2~77 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=938dfdaa3c0f92e9a490d324f3bce43bbaef7632;p=pandora-kernel.git net: stmmac: Allocate and pass soc/board specific data to callbacks The current .init and .exit callbacks requires access to driver private data structures. This is not a good seperation and abstraction. Instead, we add a new .setup callback for allocating private data, and pass the returned pointer to the other callbacks. Signed-off-by: Chen-Yu Tsai Signed-off-by: David S. Miller --- Reading git-diff-tree failed