From: Lee Jones Date: Fri, 28 May 2021 09:06:19 +0000 (+0100) Subject: leds: leds-as3645a: Fix function name 'as3645a_set_current()' X-Git-Tag: accepted/tizen/unified/20230118.172025~6910^2~30 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=da9c6564d5c52c3a946cc54acd0e9460c006f6f4;p=platform%2Fkernel%2Flinux-rpi.git 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 Cc: Pavel Machek Cc: Laurent Pinchart Cc: linux-leds@vger.kernel.org Signed-off-by: Lee Jones Signed-off-by: Pavel Machek --- diff --git a/drivers/leds/leds-as3645a.c b/drivers/leds/leds-as3645a.c index e8922fa..c41937ff 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