diff options
| author | Junhui Liu <[email protected]> | 2025-01-26 00:29:59 -0800 |
|---|---|---|
| committer | Mattijs Korpershoek <[email protected]> | 2025-06-02 10:02:46 +0200 |
| commit | 42911f61b776cda40ba2b8c9e57988a84ad359a5 (patch) | |
| tree | 45ec8de55b85a3eddc468c071bd985284ee405f3 /include/linux/linux_string.h | |
| parent | bd88148a1bf3457ffe05d3bb0563dc4bfbfeee96 (diff) | |
usb: dwc2: Refactor register operations with clrsetbits macros
Refactor DWC2 USB gadget driver to replace manual read-modify-write
operations with `clrsetbits_le32`, `setbits_le32`, and `clrbits_le32`
macros, which simplify the code and improve readability.
Signed-off-by: Junhui Liu <[email protected]>
Reviewed-by: Mattijs Korpershoek <[email protected]>
Reviewed-by: Marek Vasut <[email protected]>
Link: https://lore.kernel.org/r/20250126-dwc2-clrsetbits-refactor-v1-1-68c27e1b6f84@pigmoral.tech
Signed-off-by: Mattijs Korpershoek <[email protected]>
Diffstat (limited to 'include/linux/linux_string.h')
0 files changed, 0 insertions, 0 deletions
