summaryrefslogtreecommitdiff
path: root/arch/arm/mach-stm32mp/cmd_stm32prog/cmd_stm32prog.c
diff options
context:
space:
mode:
authorKongyang Liu <seashell11234455@gmail.com>2025-01-10 21:55:23 +0800
committerMattijs Korpershoek <mkorpershoek@kernel.org>2025-06-02 09:57:25 +0200
commita5699130f4ad3f08d5192a459d116cd0ffc9ee4d (patch)
tree6937b534dc0d68b149c3d55de37d2e627d718a17 /arch/arm/mach-stm32mp/cmd_stm32prog/cmd_stm32prog.c
parentbd6ef5097dd6c6219f12c0f2866ee4d578f190e9 (diff)
usb: dwc2: Clean up with bitfield macros
Use FIELD_PREP, FIELD_GET, BIT, and GENMASK macros to standardize bit manipulation across the DWC2 code, improving readability and maintainability without altering functionality. Signed-off-by: Kongyang Liu <seashell11234455@gmail.com> Reviewed-by: Marek Vasut <marex@denx.de> Reviewed-by: Mattijs Korpershoek <mkorpershoek@baylibre.com> Tested-by: Peter Robinson <pbrobinson@gmail.com> Signed-off-by: Junhui Liu <junhui.liu@pigmoral.tech> Link: https://lore.kernel.org/r/20250110-dwc2-dev-v4-4-987f4fd6f8b2@pigmoral.tech Signed-off-by: Mattijs Korpershoek <mkorpershoek@kernel.org>
Diffstat (limited to 'arch/arm/mach-stm32mp/cmd_stm32prog/cmd_stm32prog.c')
0 files changed, 0 insertions, 0 deletions