File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -797,7 +797,7 @@ static struct i2c_adapter *inno_hdmi_i2c_adapter(struct inno_hdmi *hdmi)
797
797
adap -> dev .parent = hdmi -> dev ;
798
798
adap -> dev .of_node = hdmi -> dev -> of_node ;
799
799
adap -> algo = & inno_hdmi_algorithm ;
800
- strlcpy (adap -> name , "Inno HDMI" , sizeof (adap -> name ));
800
+ strscpy (adap -> name , "Inno HDMI" , sizeof (adap -> name ));
801
801
i2c_set_adapdata (adap , hdmi );
802
802
803
803
ret = i2c_add_adapter (adap );
Original file line number Diff line number Diff line change @@ -730,7 +730,7 @@ static struct i2c_adapter *rk3066_hdmi_i2c_adapter(struct rk3066_hdmi *hdmi)
730
730
adap -> dev .parent = hdmi -> dev ;
731
731
adap -> dev .of_node = hdmi -> dev -> of_node ;
732
732
adap -> algo = & rk3066_hdmi_algorithm ;
733
- strlcpy (adap -> name , "RK3066 HDMI" , sizeof (adap -> name ));
733
+ strscpy (adap -> name , "RK3066 HDMI" , sizeof (adap -> name ));
734
734
i2c_set_adapdata (adap , hdmi );
735
735
736
736
ret = i2c_add_adapter (adap );
You can’t perform that action at this time.
0 commit comments