OSDN Git Service

staging:rtl8192u: Refactor enum VERSION_819xU - Style
authorJohn Whitmore <johnfwhitmore@gmail.com>
Sun, 26 Aug 2018 21:14:19 +0000 (22:14 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 27 Aug 2018 17:27:47 +0000 (19:27 +0200)
commit64749a7e54e36bf33b0c9c69a567d3f682587107
tree7bafe8c0eb5abbd2a071381ee4b0ad8e60e597a9
parent6367ae41f2c46889ef611843a1a48de03714673b
staging:rtl8192u: Refactor enum VERSION_819xU - Style

Rename enumerated type VERSION_819xU to version_819xu to clear
checkpatch issue with CamelCase naming. Additionally the constants
defined by the type are renamed for the same reason.

Remove the 'typedef' directive to clear the checkpatch issue with
defining new types.

The enumerated type has been moved to the file where the type is
actually used, r8192U.h

Additionally the memeber variable, which uses the type
(card_8192_version), has been changed to use the type to enable
compiler typechecking.

These are coding style changes which should not impact runtime code
execution.

Signed-off-by: John Whitmore <johnfwhitmore@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/rtl8192u/r8190_rtl8256.c
drivers/staging/rtl8192u/r8192U.h
drivers/staging/rtl8192u/r8192U_core.c
drivers/staging/rtl8192u/r8192U_hw.h
drivers/staging/rtl8192u/r819xU_phy.c