[PATCH BlueZ v2 3/3] profiles: Fix function definition style

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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.
---
 src/shared/bap.h | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/shared/bap.h b/src/shared/bap.h
index 93b00d771..b63b4b024 100644
--- a/src/shared/bap.h
+++ b/src/shared/bap.h
@@ -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,
-- 
2.25.1




[Index of Archives]     [Bluez Devel]     [Linux Wireless Networking]     [Linux Wireless Personal Area Networking]     [Linux ATH6KL]     [Linux USB Devel]     [Linux Media Drivers]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [Big List of Linux Books]

  Powered by Linux