DLKM: input: Improve novatek touch driver

- Remove the ret=0 since it may potentially overwrite the
error code.

Change-Id: Iaf4669f4caa75938daf7fb13b268dea3b4c2b67c
Signed-off-by: wengjun1 <wengjun1@motorola.com>
Reviewed-on: https://gerrit.mot.com/1231504
SLTApproved: Slta Waiver
SME-Granted: SME Approvals Granted
Tested-by: Jira Key
Reviewed-by: Yeqing Wang <wangyq13@motorola.com>
Reviewed-by: Huosheng Liao <liaohs@motorola.com>
Submit-Approved: Jira Key
This commit is contained in:
wengjun1 2018-08-22 17:36:28 +08:00 • committed by Jun Weng
commit e2ca76c9c2

View file

@ -1964,7 +1964,6 @@ int32_t nvt_mp_proc_init(void)
} else {
NVT_LOG("create /proc/nvt_selftest Succeeded!\n");
}
ret = 0;
}
#if NVT_TOUCH_MP_LENOVO
if (ret == 0) {