mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git
synced 2025-01-09 07:23:14 +00:00
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>
This commit is contained in:
parent
2c175615cd
commit
da9c6564d5
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user