diff options
author | Frank Li <Frank.Li@nxp.com> | 2024-10-21 18:45:06 +0300 |
---|---|---|
committer | Alexandre Belloni <alexandre.belloni@bootlin.com> | 2024-11-01 01:51:00 +0300 |
commit | 16aed0a6520ba01b7d22c32e193fc1ec674f92d4 (patch) | |
tree | 032eeba90e44389a0135f0bb8aa898b093ba12f5 /tools/perf/scripts/python | |
parent | 9852d85ec9d492ebef56dc5f229416c925758edc (diff) | |
download | linux-16aed0a6520ba01b7d22c32e193fc1ec674f92d4.tar.xz |
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 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions