disp: msm: fix compilation errors for dlkm compilation

Fix dlkm compilation errors that are due to the use of -Werror
flags used by the build system.

Change-Id: I5e1e9bc63c1361d73e4930aab123212717872ecb
Signed-off-by: Tatenda Chipeperekwa <tatendac@codeaurora.org>
这个提交包含在:
Tatenda Chipeperekwa
2020-12-08 15:00:14 -08:00
提交者 Abhijit Kulkarni
父节点 1b3ad8486d
当前提交 c6257272d4
修改 31 个文件,包含 87 行新增85 行删除

查看文件

@@ -584,7 +584,7 @@ static int dsi_panel_update_pwm_backlight(struct dsi_panel *panel,
rc = pwm_config(bl->pwm_bl, duty, period_ns);
if (rc) {
DSI_ERR("[%s] failed to change pwm config, rc=\n", panel->name,
DSI_ERR("[%s] failed to change pwm config, rc=%d\n", panel->name,
rc);
goto error;
}
@@ -598,7 +598,7 @@ static int dsi_panel_update_pwm_backlight(struct dsi_panel *panel,
if (bl_lvl != 0 && !bl->pwm_enabled) {
rc = pwm_enable(bl->pwm_bl);
if (rc) {
DSI_ERR("[%s] failed to enable pwm, rc=\n", panel->name,
DSI_ERR("[%s] failed to enable pwm, rc=%d\n", panel->name,
rc);
goto error;
}