i3c: dw: use parity8 helper instead of open coding it
authorWolfram Sang <wsa+renesas@sang-engineering.com>
Tue, 7 Jan 2025 09:02:01 +0000 (10:02 +0100)
committerAlexandre Belloni <alexandre.belloni@bootlin.com>
Sun, 12 Jan 2025 22:55:50 +0000 (23:55 +0100)
commite89cc14e96a99c93516c97dd10211313d3a7c4ff
treeea0bc349d2b5dd24572d3192016c5b504e4e9f5a
parent32a8d362b51577e2b44d21410ff4eae7643b7448
i3c: dw: use parity8 helper instead of open coding it

The kernel has now a generic helper for getting parity with easier to
understand semantics. Make use of it.

Signed-off-by: Wolfram Sang <wsa+renesas@sang-engineering.com>
Link: https://lore.kernel.org/r/20250107090204.6593-4-wsa+renesas@sang-engineering.com
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
drivers/i3c/master/dw-i3c-master.c