disp: msm: dsi: avoid using devm_pwm_put
API got deprecated in kernel 5.15. Remove the usage. Change-Id: I10c4fdee1074fcf50ae4fe28124692dae7a31c7c Signed-off-by: Jeykumar Sankaran <jsanka@codeaurora.org>
这个提交包含在:

提交者
Gerrit - the friendly Code Review server

父节点
425df29bb6
当前提交
3f072ce464
@@ -747,13 +747,6 @@ error:
|
||||
return rc;
|
||||
}
|
||||
|
||||
static void dsi_panel_pwm_unregister(struct dsi_panel *panel)
|
||||
{
|
||||
struct dsi_backlight_config *bl = &panel->bl_config;
|
||||
|
||||
devm_pwm_put(panel->parent, bl->pwm_bl);
|
||||
}
|
||||
|
||||
static int dsi_panel_bl_unregister(struct dsi_panel *panel)
|
||||
{
|
||||
int rc = 0;
|
||||
@@ -770,7 +763,6 @@ static int dsi_panel_bl_unregister(struct dsi_panel *panel)
|
||||
case DSI_BACKLIGHT_EXTERNAL:
|
||||
break;
|
||||
case DSI_BACKLIGHT_PWM:
|
||||
dsi_panel_pwm_unregister(panel);
|
||||
break;
|
||||
default:
|
||||
DSI_ERR("Backlight type(%d) not supported\n", bl->type);
|
||||
|
在新工单中引用
屏蔽一个用户