diff options
author | Lee Jones <lee.jones@linaro.org> | 2021-05-28 11:06:19 +0200 |
---|---|---|
committer | Pavel Machek <pavel@ucw.cz> | 2021-05-28 11:38:56 +0200 |
commit | da9c6564d5c52c3a946cc54acd0e9460c006f6f4 (patch) | |
tree | 8987e9ac58d6e7ac4d212c8ed359ffcf9ed2fcd9 /drivers/leds | |
parent | leds: leds-bcm6328: Demote kernel-doc abuse (diff) | |
download | linux-da9c6564d5c52c3a946cc54acd0e9460c006f6f4.tar.xz linux-da9c6564d5c52c3a946cc54acd0e9460c006f6f4.zip |
leds: leds-as3645a: Fix function name 'as3645a_set_current()'
Fixes the following W=1 kernel build warning(s):
drivers/leds/leds-as3645a.c:198: warning: expecting prototype for as3645a_set_config(). Prototype was for as3645a_set_current() instead
Cc: Sakari Ailus <sakari.ailus@linux.intel.com>
Cc: Pavel Machek <pavel@ucw.cz>
Cc: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Cc: linux-leds@vger.kernel.org
Signed-off-by: Lee Jones <lee.jones@linaro.org>
Signed-off-by: Pavel Machek <pavel@ucw.cz>
Diffstat (limited to 'drivers/leds')
-rw-r--r-- | drivers/leds/leds-as3645a.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/leds/leds-as3645a.c b/drivers/leds/leds-as3645a.c index e8922fa03379..c41937ff8fd3 100644 --- a/drivers/leds/leds-as3645a.c +++ b/drivers/leds/leds-as3645a.c @@ -185,7 +185,7 @@ static int as3645a_read(struct as3645a *flash, u8 addr) */ /** - * as3645a_set_config - Set flash configuration registers + * as3645a_set_current - Set flash configuration registers * @flash: The flash * * Configure the hardware with flash, assist and indicator currents, as well as |