profiles: Fix function definition style
authorFrédéric Danis <frederic.danis@collabora.com>
Tue, 30 Aug 2022 14:47:34 +0000 (16:47 +0200)
committerAyush Garg <ayush.garg@samsung.com>
Mon, 15 May 2023 09:25:54 +0000 (14:55 +0530)
This was found by checkpatch in previous commit:
WARNING:SPACING: Unnecessary space before function pointer arguments
124: FILE: src/shared/bap.h:123:
+ int (*select) (struct bt_bap_pac *lpac, struct bt_bap_pac *rpac,

Do the same for (*config) and (*clear) for consistence.

Signed-off-by: Manika Shrivastava <manika.sh@samsung.com>
Signed-off-by: Ayush Garg <ayush.garg@samsung.com>
src/shared/bap.h

index 93b00d7..b63b4b0 100644 (file)
@@ -123,10 +123,10 @@ struct bt_bap_pac_ops {
        int (*select)(struct bt_bap_pac *lpac, struct bt_bap_pac *rpac,
                        struct bt_bap_pac_qos *qos,
                        bt_bap_pac_select_t cb, void *cb_data, void *user_data);
-       int (*config) (struct bt_bap_stream *stream, struct iovec *cfg,
+       int (*config)(struct bt_bap_stream *stream, struct iovec *cfg,
                        struct bt_bap_qos *qos, bt_bap_pac_config_t cb,
                        void *user_data);
-       void (*clear) (struct bt_bap_stream *stream, void *user_data);
+       void (*clear)(struct bt_bap_stream *stream, void *user_data);
 };
 
 bool bt_bap_pac_set_ops(struct bt_bap_pac *pac, struct bt_bap_pac_ops *ops,