Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 2b9f46a5 authored by Jordan Crouse's avatar Jordan Crouse
Browse files

leds: qpnp-flash-v2: Fix a missing return type for a function



qpnp_flash_led_thermal_config() was missing a return type triggering
a compiler warning.

Change-Id: Ic0dedbad17b3069eb1750999e886817ff00c9af2
Signed-off-by: default avatarJordan Crouse <jcrouse@codeaurora.org>
parent e8305dff
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -477,7 +477,7 @@ static int qpnp_flash_led_strobe_config(struct qpnp_flash_led *led)
	return rc;
}

static qpnp_flash_led_thermal_config(struct qpnp_flash_led *led)
static int qpnp_flash_led_thermal_config(struct qpnp_flash_led *led)
{
	int rc;
	u8 val, mask;