diff options
author | Amitoj Kaur Chawla <amitoj1606@gmail.com> | 2016-02-18 14:41:36 (GMT) |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2016-02-20 23:02:06 (GMT) |
commit | 8661fca6f679996133765fa905e9a480b8c96a74 (patch) | |
tree | d25c90d3caca08a637537f119be500756ceaaeb7 /lib/842 | |
parent | 11b49d9bb63fab2f92223419a2492661e317e2ef (diff) | |
download | linux-8661fca6f679996133765fa905e9a480b8c96a74.tar.xz |
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 'lib/842')
0 files changed, 0 insertions, 0 deletions