diff options
| author | Nishanth Menon <nm@ti.com> | 2026-05-12 12:06:23 -0500 |
|---|---|---|
| committer | Nishanth Menon <nm@ti.com> | 2026-05-22 10:55:55 -0500 |
| commit | 33050d81b828c7d699ad0ad0c7489a198c527019 (patch) | |
| tree | 308144adfe4dff101fa7b40e733654bf3a308771 /scripts/objdiff | |
| parent | 81f2c17bc0596f619616a2e85fab142c8316de85 (diff) | |
soc: ti: k3-ringacc: Use str_enabled_disabled() helper
Coccinelle (scripts/coccinelle/api/string_choices.cocci) flags an
opportunity to replace the open-coded ternary expression in the probe
dev_info() call:
k3-ringacc.c:1439:3-32: opportunity for
str_enabled_disabled(ringacc->dma_ring_reset_quirk)
Replace the ternary with str_enabled_disabled() and add the required
include for <linux/string_choices.h>.
Reviewed-by: Sai Sree Kartheek Adivi <s-adivi@ti.com>
Reviewed-by: Hari Prasath Gujulan Elango <gehariprasath@ti.com>
Link: https://patch.msgid.link/20260512170623.3174416-12-nm@ti.com
Signed-off-by: Nishanth Menon <nm@ti.com>
Diffstat (limited to 'scripts/objdiff')
0 files changed, 0 insertions, 0 deletions
