From: Felipe Balbi Date: Mon, 14 Feb 2011 18:05:26 +0000 (+0200) Subject: cbus: retu: pass the child device pointer to all retu functions X-Git-Url: https://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=1c1e8732bf2884b90b438f34881271a9af47a3af;p=pandora-kernel.git cbus: retu: pass the child device pointer to all retu functions Throught the child device pointer, we can fetch our needed struct retu simply by dev_get_drvdata(child->parent) By using that trick, we can get really close to getting rid of the global struct retu pointer. Signed-off-by: Felipe Balbi --- Reading git-diff-tree failed