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

[media] v4l2-subdev: reorder the v4l2_subdev_video_ops comments

The comments for struct v4l2_subdev_video_ops are out of the
order as the parameter would appear at struct. This is not
a problem for DocBook, but humans find harder to mentally
reorder ;)

So, put them at the right order. That makes easier to check
what's missing, and to put the comments in the right place.

Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
Acked-by: Jonathan Corbet <corbet@lwn.net>

+10 -8
+10 -8
include/media/v4l2-subdev.h
··· 309 309 /** 310 310 * struct v4l2_subdev_video_ops - Callbacks used when v4l device was opened 311 311 * in video mode. 312 + * 313 + * @s_routing: see s_routing in audio_ops, except this version is for video 314 + * devices. 315 + * 316 + * @s_crystal_freq: sets the frequency of the crystal used to generate the 317 + * clocks in Hz. An extra flags field allows device specific configuration 318 + * regarding clock frequency dividers, etc. If not used, then set flags 319 + * to 0. If the frequency is not supported, then -EINVAL is returned. 320 + * 312 321 * @s_std_output: set v4l2_std_id for video OUTPUT devices. This is ignored by 313 322 * video input devices. 314 323 * ··· 330 321 * @g_tvnorms_output: get v4l2_std_id with all standards supported by the video 331 322 * OUTPUT device. This is ignored by video capture devices. 332 323 * 333 - * @s_crystal_freq: sets the frequency of the crystal used to generate the 334 - * clocks in Hz. An extra flags field allows device specific configuration 335 - * regarding clock frequency dividers, etc. If not used, then set flags 336 - * to 0. If the frequency is not supported, then -EINVAL is returned. 337 - * 338 324 * @g_input_status: get input status. Same as the status field in the v4l2_input 339 325 * struct. 340 - * 341 - * @s_routing: see s_routing in audio_ops, except this version is for video 342 - * devices. 343 326 * 344 327 * @s_dv_timings(): Set custom dv timings in the sub device. This is used 345 328 * when sub device is capable of setting detailed timing information 346 329 * in the hardware to generate/detect the video signal. 347 330 * 348 331 * @g_dv_timings(): Get custom dv timings in the sub device. 332 + * 349 333 * @g_mbus_config: get supported mediabus configurations 350 334 * 351 335 * @s_mbus_config: set a certain mediabus configuration. This operation is added