staging: most: fix line ending with '(' in video/
authorKhadija Kamran <kamrankhadijadj@gmail.com>
Thu, 23 Mar 2023 19:49:44 +0000 (00:49 +0500)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sat, 25 Mar 2023 08:47:26 +0000 (09:47 +0100)
Splitting function header to multiple lines because of 80 characters per
line limit, results in ending the function call line with '('.
This leads to CHECK reported by checkpatch.pl

Move the function parameters right after the '(' in the function call
line.

Signed-off-by: Khadija Kamran <kamrankhadijadj@gmail.com>
Link: https://lore.kernel.org/r/ZBytWDocM7XbXkRx@khadija-virtual-machine
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/most/video/video.c

index ffa97ef21ea5007a3e7db0a0786830e7d391e9e0..6254a5df2502fa5f9caaff03a64f8c37e7b22ffe 100644 (file)
@@ -365,8 +365,7 @@ static const struct video_device comp_videodev_template = {
 
 /**************************************************************************/
 
-static struct most_video_dev *get_comp_dev(
-       struct most_interface *iface, int channel_idx)
+static struct most_video_dev *get_comp_dev(struct most_interface *iface, int channel_idx)
 {
        struct most_video_dev *mdev;
        unsigned long flags;