summaryrefslogtreecommitdiff
path: root/lib/842
diff options
context:
space:
mode:
authorAmitoj Kaur Chawla <amitoj1606@gmail.com>2016-02-18 14:41:36 (GMT)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2016-02-20 23:02:06 (GMT)
commit8661fca6f679996133765fa905e9a480b8c96a74 (patch)
treed25c90d3caca08a637537f119be500756ceaaeb7 /lib/842
parent11b49d9bb63fab2f92223419a2492661e317e2ef (diff)
downloadlinux-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