]> www.infradead.org Git - users/jedix/linux-maple.git/commit
serial: max3100: Replace open-coded parity calculation with parity8()
authorKuan-Wei Chiu <visitorckw@gmail.com>
Thu, 15 May 2025 08:13:11 +0000 (16:13 +0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 21 May 2025 11:37:22 +0000 (13:37 +0200)
commit063a896456c339fc181cbd04a08ce409b7866f83
tree5d7e0cb08cf2bb3c617e44a283b0a94fa437e0ab
parent857eec4678805d24391c17c9f3c4d9d21b63371e
serial: max3100: Replace open-coded parity calculation with parity8()

Refactor parity calculations to use the standard parity8() helper.
This change eliminates redundant implementations.

Co-developed-by: Yu-Chun Lin <eleanor15x@gmail.com>
Signed-off-by: Yu-Chun Lin <eleanor15x@gmail.com>
Signed-off-by: Kuan-Wei Chiu <visitorckw@gmail.com>
Link: https://lore.kernel.org/r/20250515081311.775559-1-visitorckw@gmail.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/tty/serial/max3100.c