staging: rtl8723bs: drop GEN_CMD_CODE macro and capitalize labels

The use of GEN_CMD_CODE macro to generate cmd enum label names is applied
inconsistently and is confusing, it also makes it harder to make use of
tools such as clangd when looking up symbols.

Replace them with writing the enum labels directly and adopting
new capitalized names instead of the current camel case ones.

Also clean up unused alias macros in rtw_cmd.h

Signed-off-by: Aiman Najjar <aiman.najjar@hurranet.com>
Link: https://patch.msgid.link/20260707-rtl8723bs-code-style-v2-1-df50f0eead17@hurranet.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
Aiman Najjar 2026-07-07 16:43:39 -04:00 • committed by Greg Kroah-Hartman
commit 5e4b797bd7
5 changed files with 181 additions and 189 deletions