diff options
author | Christian Marangi <ansuelsmth@gmail.com> | 2024-06-26 18:00:14 +0200 |
---|---|---|
committer | Lee Jones <lee@kernel.org> | 2024-06-26 18:08:31 +0200 |
commit | a3df1906fb9aa9ff45149e0a3c6434b2cef4f6e7 (patch) | |
tree | 4058054c4caa364b5646a9f30159d8b753e6785d /drivers/leds/leds-lp55xx-common.h | |
parent | leds: leds-lp55xx: Generalize update_program_memory function (diff) | |
download | linux-a3df1906fb9aa9ff45149e0a3c6434b2cef4f6e7.tar.xz linux-a3df1906fb9aa9ff45149e0a3c6434b2cef4f6e7.zip |
leds: leds-lp55xx: Generalize firmware_loaded function
Generalize firmware_loaded function as lp55xx based LED driver all share
the same logic.
Suggested-by: Lee Jones <lee@kernel.org>
Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
Link: https://lore.kernel.org/r/20240626160027.19703-10-ansuelsmth@gmail.com
Signed-off-by: Lee Jones <lee@kernel.org>
Diffstat (limited to 'drivers/leds/leds-lp55xx-common.h')
-rw-r--r-- | drivers/leds/leds-lp55xx-common.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/leds/leds-lp55xx-common.h b/drivers/leds/leds-lp55xx-common.h index f0bbd41fdab3..cbc122c56828 100644 --- a/drivers/leds/leds-lp55xx-common.h +++ b/drivers/leds/leds-lp55xx-common.h @@ -212,6 +212,7 @@ extern void lp55xx_load_engine(struct lp55xx_chip *chip); extern int lp55xx_run_engine_common(struct lp55xx_chip *chip); extern int lp55xx_update_program_memory(struct lp55xx_chip *chip, const u8 *data, size_t size); +extern void lp55xx_firmware_loaded_cb(struct lp55xx_chip *chip); /* common probe/remove function */ extern int lp55xx_probe(struct i2c_client *client); |