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

Skip to content
Commit 89c3d6f3 authored by Shantanu Jain's avatar Shantanu Jain
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
Change-Id: I62f0ff800318882067bc0f16b021cb344e340ecf
Signed-off-by: default avatarShantanu Jain <shjain@codeaurora.org>
parent 01364e16
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