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>
Loading
Please register or sign in to comment