Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit a4527213 authored by Shantanu Jain's avatar Shantanu Jain Committed by Sudhakar Manapati
Browse files

input: touchscreen: Add devm_kzalloc calls to goodix driver



Change the kzalloc calls to devm_kzalloc calls to
avoid explicit kfree calls. Remove redundant kfree calls
to avoid double free. Fix error check path on devm_kzalloc
return values. Also remove redundant goto labels.

CRs-fixed: 554778

This patch is propagated from msm-3.10 kernel.
(commit: 89c3d6f3a6752583b80dd7722d0154b2ff0f6f20
input: touchscreen: Add devm_kzalloc calls to goodix driver)

Change-Id: I62f0ff800318882067bc0f16b021cb344e340ecf
Signed-off-by: default avatarShantanu Jain <shjain@codeaurora.org>
Signed-off-by: default avatarSudhakar Manapati <smanap@codeaurora.org>
parent 19f0abdb
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment