diff options
author | Frank Li <Frank.Li@nxp.com> | 2024-10-21 11:45:06 -0400 |
---|---|---|
committer | Alexandre Belloni <alexandre.belloni@bootlin.com> | 2024-10-31 23:51:00 +0100 |
commit | 16aed0a6520ba01b7d22c32e193fc1ec674f92d4 (patch) | |
tree | 032eeba90e44389a0135f0bb8aa898b093ba12f5 /scripts/lib/kdoc/kdoc_parser.py | |
parent | 9852d85ec9d492ebef56dc5f229416c925758edc (diff) |
i3c: master: Replace hard code 2 with macro I3C_ADDR_SLOT_STATUS_BITS
Replace the hardcoded value 2, which indicates 2 bits for I3C address
status, with the predefined macro I3C_ADDR_SLOT_STATUS_BITS.
Improve maintainability and extensibility of the code.
Reviewed-by: Miquel Raynal <miquel.raynal@bootlin.com>
Signed-off-by: Frank Li <Frank.Li@nxp.com>
Link: https://lore.kernel.org/r/20241021-i3c_dts_assign-v8-1-4098b8bde01e@nxp.com
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Diffstat (limited to 'scripts/lib/kdoc/kdoc_parser.py')
0 files changed, 0 insertions, 0 deletions