diff options
| author | Bingzhe Cai <bingzhec@codeaurora.org> | 2013-07-16 17:57:37 +0800 |
|---|---|---|
| committer | Abinaya P <abinayap@codeaurora.org> | 2016-08-03 20:45:25 +0530 |
| commit | b1bafc4fd8f77ab2320c8511b3aea9643e117d9d (patch) | |
| tree | 4c8310c0dd5d037769fe8098f97a475b4b712d24 /lib/test-string_helpers.c | |
| parent | a8ac335601c4bb8249207877a6d8b486c310ae31 (diff) | |
input: touchpanel: Goodix GT915 driver cleanup
Code clean up that makes the driver more like a linux driver.
Add some error recovery to make sure driver will not crash when
error is occurs. Also have cleared the checkpatch errors on 4.4.
This patch is propagated from 3.4 kernel 'commit c2fcdcda743f
("input: touchpanel: Goodix GT915 driver cleanup")'
Change-Id: I3af425f5f0251ec576168f72a2059f85c3be4358
Signed-off-by: Bingzhe Cai <bingzhec@codeaurora.org>
Signed-off-by: Sudhakar Manapati <smanap@codeaurora.org>
[abinayap@codeaurora.org: Fix checkpatch errors for 4.4 kernel
- check for sizeof(p_cfg_grp)/sizeof(p_cfg_grp[0]) that could
be ARRAY_SIZE(p_cfg_grp)
- check for sizeof(touch_key_array)/sizeof(touch_key_array[0])
that could be ARRAY_SIZE(touch_key_array)
- Comparisons should place the constant on the right side
of the test]
Signed-off-by: Abinaya P <abinayap@codeaurora.org>
Diffstat (limited to 'lib/test-string_helpers.c')
0 files changed, 0 insertions, 0 deletions
