[PATCH 1/3] i3c: master: Replace hard code 2 with macro I3C_ADDR_SLOT_STATUS_BITS
Miquel Raynal
miquel.raynal at bootlin.com
Wed Oct 2 00:18:56 PDT 2024
Hi Frank,
Frank.Li at nxp.com wrote on Tue, 01 Oct 2024 13:08:20 -0400:
> 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.
>
> Signed-off-by: Frank Li <Frank.Li at nxp.com>
Reviewed-by: Miquel Raynal <miquel.raynal at bootlin.com>
Thanks,
Miquèl
More information about the linux-i3c
mailing list