File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
drivers/gpu/drm/msm/disp/dpu1 Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -24,7 +24,7 @@ static int _dpu_vbif_wait_for_xin_halt(struct dpu_hw_vbif *vbif, u32 xin_id)
24
24
int rc ;
25
25
26
26
if (!vbif || !vbif -> cap || !vbif -> ops .get_halt_ctrl ) {
27
- DPU_ERROR ("invalid arguments vbif %d\n" , vbif != 0 );
27
+ DPU_ERROR ("invalid arguments vbif %d\n" , vbif != NULL );
28
28
return - EINVAL ;
29
29
}
30
30
@@ -106,7 +106,7 @@ static u32 _dpu_vbif_get_ot_limit(struct dpu_hw_vbif *vbif,
106
106
u32 val ;
107
107
108
108
if (!vbif || !vbif -> cap ) {
109
- DPU_ERROR ("invalid arguments vbif %d\n" , vbif != 0 );
109
+ DPU_ERROR ("invalid arguments vbif %d\n" , vbif != NULL );
110
110
return - EINVAL ;
111
111
}
112
112
@@ -164,7 +164,7 @@ void dpu_vbif_set_ot_limit(struct dpu_kms *dpu_kms,
164
164
165
165
if (!vbif || !mdp ) {
166
166
DPU_DEBUG ("invalid arguments vbif %d mdp %d\n" ,
167
- vbif != 0 , mdp != 0 );
167
+ vbif != NULL , mdp != NULL );
168
168
return ;
169
169
}
170
170
You can’t perform that action at this time.
0 commit comments