]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
Revert "leds-pca955x: Remove the unused function pca95xx_num_led_regs()"
authorEddie James <eajames@linux.ibm.com>
Fri, 21 Feb 2025 15:51:44 +0000 (09:51 -0600)
committerLee Jones <lee@kernel.org>
Fri, 21 Feb 2025 16:13:46 +0000 (16:13 +0000)
commit012825dbd5aa7454b93f7a17bd99efee114023ba
treeb63e2709706e4e5591da8725045e45574eaa1e94
parent2f372a5dce6885f1d2647f7add01756bee0fef49
Revert "leds-pca955x: Remove the unused function pca95xx_num_led_regs()"

This reverts commit 38bcb51f81af17a6d40fc135e565fc1fb8aa8e9d.

This function is needed by the hardware blink support just introduced.
Also rename the function to pca955x_num_led_regs() to match the rest of
the functions in the driver.

Signed-off-by: Eddie James <eajames@linux.ibm.com>
Link: https://lore.kernel.org/r/20250221155144.2109806-1-eajames@linux.ibm.com
Signed-off-by: Lee Jones <lee@kernel.org>
drivers/leds/leds-pca955x.c