misc: ti-st: remove ptr from recv functions
authorJiri Slaby <jirislaby@kernel.org>
Mon, 31 Jul 2023 08:02:43 +0000 (10:02 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 31 Jul 2023 15:16:05 +0000 (17:16 +0200)
commita60b3017601ef7f338ac44b942e917362f222b1c
tree12b2914851c2551aa5ee36a212ba4020e9c81a71
parent99037697410f4df41558fc4227a9141dc1e24f59
misc: ti-st: remove ptr from recv functions

ptr is the same as data, so use ptr directly as a parameter and drop the
useless local variable.

Likely, the two were introduced to have a different type. But 'char' and
'unsigned char' are the same in the kernel for a long time.

Signed-off-by: Jiri Slaby (SUSE) <jirislaby@kernel.org>
Cc: Arnd Bergmann <arnd@arndb.de>
Link: https://lore.kernel.org/r/20230731080244.2698-10-jirislaby@kernel.org
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/misc/ti-st/st_core.c
drivers/misc/ti-st/st_kim.c