commit | e534f3e9429feb99ea133dfd5618b0dfc5af8a00 | [log] [tgz] |
---|---|---|
author | Himangi Saraogi <himangi774@gmail.com> | Fri Mar 07 21:39:27 2014 +0530 |
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | Fri Mar 07 15:19:36 2014 -0800 |
tree | 228fb0379972da1e792e35c0f31ea5800346c017 | |
parent | b77f2767a76eaf6a26eb3c2128877b362544b804 [diff] |
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 <himangi774@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>