commit | 80a97ccd33be9c79018d3d4983eefa3e6d6bfb6d | [log] [tgz] |
---|---|---|
author | Peter Ujfalusi <peter.ujfalusi@ti.com> | Wed Jan 16 14:53:57 2013 +0100 |
committer | Samuel Ortiz <sameo@linux.intel.com> | Thu Feb 14 00:22:51 2013 +0100 |
tree | 7090232bab288b42d93edddd89f5bfbcb96cf441 | |
parent | 6382a0614144901af1cbbfdf9b9a618f5dfb8548 [diff] |
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 <peter.ujfalusi@ti.com> Signed-off-by: Samuel Ortiz <sameo@linux.intel.com>