diff options
| author | 2016-02-18 20:11:36 +0530 | |
|---|---|---|
| committer | 2016-02-20 15:02:06 -0800 | |
| commit | 8661fca6f679996133765fa905e9a480b8c96a74 (patch) | |
| tree | d25c90d3caca08a637537f119be500756ceaaeb7 /include/linux/debugobjects.h | |
| parent | staging: netlogic: Return zero pointer after failed kmalloc (diff) | |
staging: most: hdm-dim2: Replace kzalloc with devm_kzalloc
Devm_ functions allocate memory that is released when a driver detaches.
Replace kzalloc with devm_kzalloc and remove corresponding
kfrees from probe and remove functions of a platform
device.
Also, an unnecessary label has been removed.
Signed-off-by: Amitoj Kaur Chawla <amitoj1606@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'include/linux/debugobjects.h')
0 files changed, 0 insertions, 0 deletions
