staging: vt6656: Change macro to function and moved to better file
authorPhilipp Hortmann <philipp.g.hortmann@gmail.com>
Mon, 21 Feb 2022 21:25:16 +0000 (22:25 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 25 Feb 2022 09:01:35 +0000 (10:01 +0100)
commitefc72b11b3eb5dc6f9d63224da8e1dde2bed24c3
tree27598f03fa540316ba5ad6612718ef5c732aa750
parentac1569b7dca22e6bc05585093c90cb11fcc10fbd
staging: vt6656: Change macro to function and moved to better file

This patch fixes the checkpatch.pl warning like:
- CHECK: Macro argument reuse 'uVar' - possible side-effects?
Moved the only twice used function to the file where it is used.

Reviewed-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: Philipp Hortmann <philipp.g.hortmann@gmail.com>
Link: https://lore.kernel.org/r/fa37dde640cfe5093ff23ca0881aba4673751a49.1645477326.git.philipp.g.hortmann@gmail.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/vt6656/device.h
drivers/staging/vt6656/wcmd.c