On 03/26/2012 03:45 AM, Viresh Kumar wrote: > matrix_keyboard_of_fill_keymap() routines allocates memory using kzalloc() > routine. It is freed on call to matrix_keyboard_of_free_keymap() routine. > > This patch converts these kzalloc() calls to devm_kzalloc() and thus we don't > require matrix_keyboard_of_free_keymap() anymore. > > Signed-off-by: Viresh Kumar <[email protected]>
The Tegra-related parts, Acked-by: Stephen Warren <[email protected]> But that said, Dmitry specifically requested that the devm_* function not be used during initial review of this code; IIRC he preferred just doing the explicit frees. I can't find a link right now though. _______________________________________________ devicetree-discuss mailing list [email protected] https://lists.ozlabs.org/listinfo/devicetree-discuss
