]> www.infradead.org Git - users/hch/misc.git/commitdiff
staging: greybus: fix line ending with '('
authorKhadija Kamran <kamrankhadijadj@gmail.com>
Mon, 20 Mar 2023 12:10:34 +0000 (17:10 +0500)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 22 Mar 2023 09:09:49 +0000 (10:09 +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 first parameter right after the '(' in the function call line.
Align the rest of the parameters to the opening parenthesis.

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

index 62d7674852bec87092fe0a4da24cb74e7a309623..08e6a807c1327dd1c500bc5b9f2e026f0160bf2c 100644 (file)
@@ -24,9 +24,8 @@ struct gbaudio_ctl_pvt {
        struct gb_audio_ctl_elem_info *info;
 };
 
-static struct gbaudio_module_info *find_gb_module(
-                                       struct gbaudio_codec_info *codec,
-                                       char const *name)
+static struct gbaudio_module_info *find_gb_module(struct gbaudio_codec_info *codec,
+                                                 char const *name)
 {
        int dev_id;
        char begin[NAME_SIZE];