diff options
| author | Himanshu Aggarwal <haggarwa@codeaurora.org> | 2016-03-08 14:46:51 +0530 |
|---|---|---|
| committer | Gerrit - the friendly Code Review server <code-review@localhost> | 2016-09-09 03:28:36 -0700 |
| commit | 501c621ee3c6c3cf17eb11971ff32a7ffaaf67e6 (patch) | |
| tree | 2a868148905ab2ecd81c9f1b536da54404ca57c3 /tools/perf/scripts/python/cs-trace-ranges.py | |
| parent | d30cccfe22511c69326d6844a887521dbd18a342 (diff) | |
input: ft5x06: check return value of kobject_create_and_add
The Focaltech driver creates a sysfs under sys/kernel/ts_info
to access touch panel details. However, the return value of the
API is not checked properly. Check the return value of the API.
Also avoid making a duplicate copy of the kobject and clean up
the show routine.
Change-Id: Ib36e9d7661ee3d2ce7b229d8692e6212e33cbf36
Signed-off-by: Himanshu Aggarwal <haggarwa@codeaurora.org>
Diffstat (limited to 'tools/perf/scripts/python/cs-trace-ranges.py')
0 files changed, 0 insertions, 0 deletions
