From: Himangi Saraogi Date: Fri, 7 Mar 2014 16:09:27 +0000 (+0530) Subject: staging:nvec: Introduce the use of the managed version of kzalloc X-Git-Tag: v3.15-rc1~139^2~552 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e534f3e9429feb99ea133dfd5618b0dfc5af8a00;p=pandora-kernel.git staging:nvec: Introduce the use of the managed version of kzalloc This patch moves shared private data kzalloc to managed devm_kzalloc. There are no kfree statements associated with this data, so using devm adds the possibility of the data being freed, if the proble function fails (if that is possible) or if the remove function succeeds. Signed-off-by: Himangi Saraogi Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed