From: Peter Ujfalusi Date: Wed, 16 Jan 2013 13:53:57 +0000 (+0100) Subject: mfd: twl-core: Collect global variables behind one private structure (global) X-Git-Tag: v3.9-rc1~92^2~43 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=80a97ccd33be9c79018d3d4983eefa3e6d6bfb6d;p=pandora-kernel.git mfd: twl-core: Collect global variables behind one private structure (global) Gather the global variables under a single structure and allocate it with devm_kzalloc(). It is easier to see them and if in the future we try to add support for multiple instance of twl in the system it is going to be much simpler. Signed-off-by: Peter Ujfalusi Signed-off-by: Samuel Ortiz --- Reading git-diff-tree failed