drivers/video/video_ctrls: Fix code compliance issues
Fix issues detected by checkpatch Signed-off-by: Alberto Escolar Piedras <alberto.escolar.piedras@nordicsemi.no>
This commit is contained in:
parent
d20adfedb1
commit
ed4ed05501
1 changed files with 2 additions and 1 deletions
|
@ -362,7 +362,8 @@ int video_set_ctrl(const struct device *dev, struct video_control *control)
|
|||
/* Call driver's set_ctrl */
|
||||
if (DEVICE_API_GET(video, ctrl->vdev->dev)->set_ctrl) {
|
||||
ret = DEVICE_API_GET(video, ctrl->vdev->dev)
|
||||
->set_ctrl(ctrl->vdev->dev, ctrl->cluster ? ctrl->cluster->id : ctrl->id);
|
||||
->set_ctrl(ctrl->vdev->dev,
|
||||
ctrl->cluster ? ctrl->cluster->id : ctrl->id);
|
||||
if (ret) {
|
||||
goto restore;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue