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

Commit 7da8fb27 authored by Wei Yongjun's avatar Wei Yongjun Committed by Matthew Garrett
Browse files

dell-laptop: fix to return error code in dell_send_intensity()



Fix to return error code instead always return 0 from function
dell_send_intensity().

Signed-off-by: default avatarWei Yongjun <yongjun_wei@trendmicro.com.cn>
Signed-off-by: default avatarMatthew Garrett <matthew.garrett@nebula.com>
parent ec513b16
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -684,7 +684,7 @@ static int dell_send_intensity(struct backlight_device *bd)

out:
	release_buffer();
	return 0;
	return ret;
}

static int dell_get_intensity(struct backlight_device *bd)