diff options
| author | Nishanth Menon <nm@ti.com> | 2026-05-12 20:06:23 +0300 |
|---|---|---|
| committer | Nishanth Menon <nm@ti.com> | 2026-05-22 18:55:55 +0300 |
| commit | 33050d81b828c7d699ad0ad0c7489a198c527019 (patch) | |
| tree | 308144adfe4dff101fa7b40e733654bf3a308771 /include/linux/debugobjects.h | |
| parent | 81f2c17bc0596f619616a2e85fab142c8316de85 (diff) | |
| download | linux-33050d81b828c7d699ad0ad0c7489a198c527019.tar.xz | |
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 'include/linux/debugobjects.h')
0 files changed, 0 insertions, 0 deletions
