Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

staging: go7007: go7007-v4l2.c Fix line over 80 characters.

Fix checkpatch.pl issues with line over
80 characters in go7007-v4l2.c

Signed-off-by: Aybuke Ozdemir <aybuke.147@gmail.com>
Signed-off-by: Peter P Waskiewicz Jr <peter.p.waskiewicz.jr@intel.com>

authored by

Aybuke Ozdemir and committed by
Peter P Waskiewicz Jr
5935caec de82a6db

+13 -7
+13 -7
drivers/staging/media/go7007/go7007-v4l2.c
··· 433 433 return set_capture_size(go, fmt, 0); 434 434 } 435 435 436 - static int go7007_queue_setup(struct vb2_queue *q, const struct v4l2_format *fmt, 436 + static int go7007_queue_setup(struct vb2_queue *q, 437 + const struct v4l2_format *fmt, 437 438 unsigned int *num_buffers, unsigned int *num_planes, 438 439 unsigned int sizes[], void *alloc_ctxs[]) 439 440 { ··· 738 737 739 738 if (a->index >= go->board_info->num_aud_inputs) 740 739 return -EINVAL; 741 - strlcpy(a->name, go->board_info->aud_inputs[a->index].name, sizeof(a->name)); 740 + strlcpy(a->name, go->board_info->aud_inputs[a->index].name, 741 + sizeof(a->name)); 742 742 a->capability = V4L2_AUDCAP_STEREO; 743 743 return 0; 744 744 } ··· 749 747 struct go7007 *go = video_drvdata(file); 750 748 751 749 a->index = go->aud_input; 752 - strlcpy(a->name, go->board_info->aud_inputs[go->aud_input].name, sizeof(a->name)); 750 + strlcpy(a->name, go->board_info->aud_inputs[go->aud_input].name, 751 + sizeof(a->name)); 753 752 a->capability = V4L2_AUDCAP_STEREO; 754 753 return 0; 755 754 } 756 755 757 - static int vidioc_s_audio(struct file *file, void *fh, const struct v4l2_audio *a) 756 + static int vidioc_s_audio(struct file *file, void *fh, 757 + const struct v4l2_audio *a) 758 758 { 759 759 struct go7007 *go = video_drvdata(file); 760 760 ··· 764 760 return -EINVAL; 765 761 go->aud_input = a->index; 766 762 v4l2_subdev_call(go->sd_audio, audio, s_routing, 767 - go->board_info->aud_inputs[go->aud_input].audio_input, 0, 0); 763 + go->board_info->aud_inputs[go->aud_input].audio_input, 0, 0); 768 764 return 0; 769 765 } 770 766 ··· 964 960 V4L2_MPEG_VIDEO_ASPECT_1x1); 965 961 ctrl = v4l2_ctrl_new_std(hdl, NULL, 966 962 V4L2_CID_JPEG_ACTIVE_MARKER, 0, 967 - V4L2_JPEG_ACTIVE_MARKER_DQT | V4L2_JPEG_ACTIVE_MARKER_DHT, 0, 968 - V4L2_JPEG_ACTIVE_MARKER_DQT | V4L2_JPEG_ACTIVE_MARKER_DHT); 963 + V4L2_JPEG_ACTIVE_MARKER_DQT | 964 + V4L2_JPEG_ACTIVE_MARKER_DHT, 0, 965 + V4L2_JPEG_ACTIVE_MARKER_DQT | 966 + V4L2_JPEG_ACTIVE_MARKER_DHT); 969 967 if (ctrl) 970 968 ctrl->flags |= V4L2_CTRL_FLAG_READ_ONLY; 971 969 if (hdl->error) {