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

Commit 3e51cd93 authored by Jingoo Han's avatar Jingoo Han Committed by Lee Jones
Browse files

backlight: jornada720: Remove 'else' after a return



Fixed the following checkpatch warning.

  WARNING: else is not generally useful after a break or return

Suggested-by: default avatarLee Jones <lee.jones@linaro.org>
Signed-off-by: default avatarJingoo Han <jg1.han@samsung.com>
Signed-off-by: default avatarLee Jones <lee.jones@linaro.org>
parent 5b007dfe
Loading
Loading
Loading
Loading
+1 −5
Original line number Diff line number Diff line
@@ -27,11 +27,7 @@

static int jornada_lcd_get_power(struct lcd_device *ld)
{
	/* LDD2 in PPC = LCD POWER */
	if (PPSR & PPC_LDD2)
		return FB_BLANK_UNBLANK;	/* PW ON */
	else
		return FB_BLANK_POWERDOWN;	/* PW OFF */
	return PPSR & PPC_LDD2 ? FB_BLANK_UNBLANK : FB_BLANK_POWERDOWN;
}

static int jornada_lcd_get_contrast(struct lcd_device *ld)