leds: pca955x: Refactor with helper functions and renaming
authorEddie James <eajames@linux.ibm.com>
Wed, 12 Feb 2025 14:30:35 +0000 (08:30 -0600)
committerLee Jones <lee@kernel.org>
Thu, 20 Feb 2025 14:29:02 +0000 (14:29 +0000)
commitca3362a841b67a23d23c22ac16d18acec6cc75ec
treebe86d92b684e540bc4d94bbaaa98781de2f0d2c9
parent346e704278151149e9b4c6807686ee667b911e77
leds: pca955x: Refactor with helper functions and renaming

Add helper functions to clean up the code, and rename a few
oddly named functions and variables.

Signed-off-by: Eddie James <eajames@linux.ibm.com>
Reviewed-by: Andy Shevchenko <andy.shevchenko@gmail.com>
Link: https://lore.kernel.org/r/20250212143038.1416501-2-eajames@linux.ibm.com
Signed-off-by: Lee Jones <lee@kernel.org>
drivers/leds/leds-pca955x.c