commit | 6dd810b5e6fa688010dcb6d386c61589e850aaaa | [log] [tgz] |
---|---|---|
author | Peter Ujfalusi <peter.ujfalusi@ti.com> | Wed Jan 16 14:53:53 2013 +0100 |
committer | Samuel Ortiz <sameo@linux.intel.com> | Thu Feb 14 00:22:50 2013 +0100 |
tree | b56a34b5de9e7f42c93e4ddf851e3d3af1586f7a | |
parent | 3c3302794cc79b363779a762051ebe8670812791 [diff] |
mfd: twl-core: Allocate twl_modules dynamically At boot time we can allocate the twl_modules array dynamically based on the twl class we are using with devm_kzalloc() instead of the static twl_modules[] array. Signed-off-by: Peter Ujfalusi <peter.ujfalusi@ti.com> Signed-off-by: Samuel Ortiz <sameo@linux.intel.com>