]> git.baikalelectronics.ru Git - kernel.git/commit
Input: zinitix - fix return type of zinitix_init_touch()
authorDmitry Torokhov <dmitry.torokhov@gmail.com>
Fri, 19 Feb 2021 18:36:48 +0000 (10:36 -0800)
committerDmitry Torokhov <dmitry.torokhov@gmail.com>
Fri, 19 Feb 2021 19:02:42 +0000 (11:02 -0800)
commit6d475a7ffb325be6a01e70b3e7f3fea03f29785d
tree38210d35386f3071e979ae934c24a48e73534783
parent512261b5a96a0614de9920e5c2f25197598fac00
Input: zinitix - fix return type of zinitix_init_touch()

zinitix_init_touch() returns error code or 0 for success and therefore
return type must be int, not bool.

Fixes: e08f091d38ab ("Input: add zinitix touchscreen driver")
Reported-by: kernel test robot <lkp@intel.com>
Reported-by: Jiapeng Chong <jiapeng.chong@linux.alibaba.com>
Link: https://lore.kernel.org/r/YC8z2bXc3Oy8pABa@google.com
Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
drivers/input/touchscreen/zinitix.c