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)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 12 Jul 2022 14:34:51 +0000 (16:34 +0200)
commit1354ceb1b6bfcb0c51b099a2d7da65e8254a254a
tree38ff18b77ade36dc496a827e1162c97ff0de2e6d
parent8d1d6b29baa98135994a1d5d1b5d471677e04773
Input: goodix - change goodix_i2c_write() len parameter type to int

[ Upstream commit 31ae0102a34ed863c7d32b10e768036324991679 ]

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>
Signed-off-by: Sasha Levin <sashal@kernel.org>
drivers/input/touchscreen/goodix.c