Commit 1ddab1e2 authored by Eddie James's avatar Eddie James Committed by Lee Jones
Browse files

leds: pca955x: Use pointers to driver data rather than I2C client



As a minor clean up item, pass the driver data pointer instead of the
I2C client to the reader and writer helper functions. Now the PCA
driver data doesn't have to be looked up again in the I2C client data

Signed-off-by: default avatarEddie James <eajames@linux.ibm.com>
Reviewed-by: default avatarAndy Shevchenko <andy.shevchenko@gmail.com>
Link: https://lore.kernel.org/r/20250212143038.1416501-3-eajames@linux.ibm.com


Signed-off-by: default avatarLee Jones <lee@kernel.org>
parent ca3362a8
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment