staging: greybus: minor code style fix
authorManikantan Ravichandran <ravman1991@gmail.com>
Fri, 12 Feb 2021 22:50:35 +0000 (04:20 +0530)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sat, 13 Feb 2021 21:37:50 +0000 (22:37 +0100)
checkpatch warning fix for string split across lines

Signed-off-by: Manikantan Ravichandran <ravman1991@gmail.com>
Link: https://lore.kernel.org/r/20210212225035.GA16260@whach
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/greybus/audio_manager_sysfs.c

index ab882cc..fcd518f 100644 (file)
@@ -18,8 +18,8 @@ static ssize_t manager_sysfs_add_store(struct kobject *kobj,
        struct gb_audio_manager_module_descriptor desc = { {0} };
 
        int num = sscanf(buf,
-                       "name=%" GB_AUDIO_MANAGER_MODULE_NAME_LEN_SSCANF "s "
-                       "vid=%d pid=%d intf_id=%d i/p devices=0x%X o/p devices=0x%X",
+                       "name=%" GB_AUDIO_MANAGER_MODULE_NAME_LEN_SSCANF
+                       "vid=%d pid=%d intf_id=%d i/p devices=0x%X o/p devices=0x%X",
                        desc.name, &desc.vid, &desc.pid, &desc.intf_id,
                        &desc.ip_devices, &desc.op_devices);