]> git.baikalelectronics.ru Git - kernel.git/commit
Input: goodix - change goodix_i2c_write() len parameter type to int
authorHans de Goede <hdegoede@redhat.com>
Tue, 21 Sep 2021 04:08:02 +0000 (21:08 -0700)
committerDmitry Torokhov <dmitry.torokhov@gmail.com>
Tue, 21 Sep 2021 05:00:22 +0000 (22:00 -0700)
commit8ea569175dfed1683f7491540a3825605ba1dd79
tree37b44e9c8f46e41ec01ee9afdfda8b10a4bd408d
parentbea523c3883a039af0468f4ad62a94095b04f31e
Input: goodix - change goodix_i2c_write() len parameter type to int

Change the type of the goodix_i2c_write() len parameter to from 'unsigned'
to 'int' to avoid bare use of 'unsigned', changing it to 'int' makes
goodix_i2c_write()' prototype consistent with goodix_i2c_read().

Reviewed-by: Bastien Nocera <hadess@hadess.net>
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Link: https://lore.kernel.org/r/20210920150643.155872-2-hdegoede@redhat.com
Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
drivers/input/touchscreen/goodix.c