diff options
author | Nai-Chen Cheng <bleach1827@gmail.com> | 2025-08-12 00:49:46 +0800 |
---|---|---|
committer | Dave Jiang <dave.jiang@intel.com> | 2025-08-12 14:39:24 -0700 |
commit | 733c4e9bcec9c481afee3891218277d9ecd06599 (patch) | |
tree | 7f7e3684a1ba383742a6e662299ce5bd54e682f5 /tools/docs/parse-headers.py | |
parent | 22fb4ad898853323f4943de3e0dc555915547ccc (diff) |
cxl/region: use str_enabled_disabled() instead of ternary operator
Replace ternary operator with str_enabled_disabled() helper to enhance
code readability and consistency.
[dj: Fix spelling in commit log and subject. ]
Signed-off-by: Nai-Chen Cheng <bleach1827@gmail.com>
Reviewed-by: Alison Schofield <alison.schofield@intel.com>
Link: https://patch.msgid.link/20250812-cxl-region-string-choices-v1-1-50200b0bc782@gmail.com
Signed-off-by: Dave Jiang <dave.jiang@intel.com>
Diffstat (limited to 'tools/docs/parse-headers.py')
0 files changed, 0 insertions, 0 deletions