staging: vt6655: Create one function for two macros
authorPhilipp Hortmann <philipp.g.hortmann@gmail.com>
Sun, 7 Aug 2022 18:13:37 +0000 (20:13 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 16 Aug 2022 13:10:41 +0000 (15:10 +0200)
commit0e68ed8f4c4e8ff2fc9653aa1ff8f3acc760eb1a
tree49eef71b899bd00e482a2945f09df486a911781f
parent6d9f3d12a89406486f9b77a1b68f16c0985f3c56
staging: vt6655: Create one function for two macros

Create function vt6655_mac_set_bits with two parameters to cover
functionality of two macros.

Signed-off-by: Philipp Hortmann <philipp.g.hortmann@gmail.com>
Link: https://lore.kernel.org/r/78883f42b2df258dbf821d7f7515a82932a157f1.1659892670.git.philipp.g.hortmann@gmail.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/vt6655/device_main.c