staging: gdm724x: Clarify naming of packet_type<->tty index symbols
authorMisha Gusarov <dottedmag@dottedmag.net>
Sat, 24 Oct 2020 20:22:21 +0000 (22:22 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 26 Oct 2020 05:53:10 +0000 (06:53 +0100)
commit01a050e8e468cce2e2e8659c0cedabc264c5c872
treecfd1e5c2cae566810016f78e1fd7ed80ce180228
parente0071d318f5e778f4a683ca28ec205a2bd88f460
staging: gdm724x: Clarify naming of packet_type<->tty index symbols

This driver was using "packet_type" for packet types and for
the mapping of TTY indices to packet types.

Fix the confusion by renaming the symbols.

Fixes sparse warning:

drivers/staging/gdm724x/gdm_mux.c:146:24: warning: symbol 'packet_type' shadows an earlier one

Signed-off-by: Misha Gusarov <dottedmag@dottedmag.net>
Link: https://lore.kernel.org/r/20201024202221.60726-1-dottedmag@dottedmag.net
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/gdm724x/gdm_mux.c