From 5e3930cf12c2e86a5f2b0d2b26e41ee6b5e764d5 Mon Sep 17 00:00:00 2001 From: Andrei Emeltchenko Date: Wed, 10 Feb 2016 14:01:52 +0200 Subject: [PATCH] drivers/nble: Use rsp instead of par Using rsp instead of par makes code more intuitive. Change-Id: Ib6594e78f4c6d0088e66e9023a696ea42a2e1f4f Signed-off-by: Andrei Emeltchenko --- drivers/nble/gap.c | 44 ++++++++++++++++++++++---------------------- 1 file changed, 22 insertions(+), 22 deletions(-) diff --git a/drivers/nble/gap.c b/drivers/nble/gap.c index 9b565a834d2..a3968c0bcb2 100644 --- a/drivers/nble/gap.c +++ b/drivers/nble/gap.c @@ -294,22 +294,22 @@ void on_ble_gap_rssi_evt(const struct ble_gap_rssi_evt *ev) BT_DBG(""); } -void on_ble_gap_service_read_rsp(const struct ble_core_response *par) +void on_ble_gap_service_read_rsp(const struct ble_core_response *rsp) { BT_DBG(""); } -void on_ble_gap_read_bda_rsp(const struct ble_service_read_bda_response *par) +void on_ble_gap_read_bda_rsp(const struct ble_service_read_bda_response *rsp) { BT_DBG(""); } -void on_ble_gap_disconnect_rsp(const struct ble_core_response *par) +void on_ble_gap_disconnect_rsp(const struct ble_core_response *rsp) { BT_DBG(""); } -void on_ble_gap_sm_pairing_rsp(const struct ble_core_response *par) +void on_ble_gap_sm_pairing_rsp(const struct ble_core_response *rsp) { BT_DBG(""); } @@ -324,93 +324,93 @@ void on_ble_gap_sm_config_rsp(struct ble_gap_sm_config_rsp *rsp) BT_DBG("state %u", rsp->state); } -void on_ble_gap_clr_white_list_rsp(const struct ble_core_response *par) +void on_ble_gap_clr_white_list_rsp(const struct ble_core_response *rsp) { BT_DBG(""); } -void on_ble_gap_sm_passkey_reply_rsp(const struct ble_core_response *par) +void on_ble_gap_sm_passkey_reply_rsp(const struct ble_core_response *rsp) { BT_DBG(""); } -void on_ble_gap_connect_rsp(const struct ble_core_response *par) +void on_ble_gap_connect_rsp(const struct ble_core_response *rsp) { BT_DBG(""); } -void on_ble_gap_start_scan_rsp(const struct ble_core_response *par) +void on_ble_gap_start_scan_rsp(const struct ble_core_response *rsp) { BT_DBG(""); } -void on_ble_gap_stop_scan_rsp(const struct ble_core_response *par) +void on_ble_gap_stop_scan_rsp(const struct ble_core_response *rsp) { BT_DBG(""); } -void on_ble_gap_cancel_connect_rsp(const struct ble_core_response *par) +void on_ble_gap_cancel_connect_rsp(const struct ble_core_response *rsp) { BT_DBG(""); } -void on_ble_gap_set_option_rsp(const struct ble_core_response *par) +void on_ble_gap_set_option_rsp(const struct ble_core_response *rsp) { BT_DBG(""); } -void on_ble_gap_generic_cmd_rsp(const struct ble_core_response *par) +void on_ble_gap_generic_cmd_rsp(const struct ble_core_response *rsp) { BT_DBG(""); } -void on_ble_gap_conn_update_rsp(const struct ble_core_response *par) +void on_ble_gap_conn_update_rsp(const struct ble_core_response *rsp) { BT_DBG(""); } -void on_ble_gap_sm_clear_bonds_rsp(const struct ble_core_response *par) +void on_ble_gap_sm_clear_bonds_rsp(const struct ble_core_response *rsp) { BT_DBG(""); } -void on_ble_gap_service_write_rsp(const struct ble_service_write_response *par) +void on_ble_gap_service_write_rsp(const struct ble_service_write_response *rsp) { BT_DBG(""); } -void on_ble_set_enable_config_rsp(const struct ble_core_response *par) +void on_ble_set_enable_config_rsp(const struct ble_core_response *rsp) { BT_DBG(""); } -void on_ble_gap_set_rssi_report_rsp(const struct ble_core_response *par) +void on_ble_gap_set_rssi_report_rsp(const struct ble_core_response *rsp) { BT_DBG(""); } -void on_ble_gap_wr_white_list_rsp(const struct ble_core_response *par) +void on_ble_gap_wr_white_list_rsp(const struct ble_core_response *rsp) { BT_DBG(""); } -void on_ble_gap_dbg_rsp(const struct debug_response *par) +void on_ble_gap_dbg_rsp(const struct debug_response *rsp) { BT_DBG(""); } -void on_ble_get_bonded_device_list_rsp(const struct ble_get_bonded_device_list_rsp *par) +void on_ble_get_bonded_device_list_rsp(const struct ble_get_bonded_device_list_rsp *rsp) { BT_DBG(""); } -void on_ble_gap_start_advertise_rsp(const struct ble_core_response *par) +void on_ble_gap_start_advertise_rsp(const struct ble_core_response *rsp) { BT_DBG(""); } -void on_ble_gap_stop_advertise_rsp(const struct ble_core_response *par) +void on_ble_gap_stop_advertise_rsp(const struct ble_core_response *rsp) { BT_DBG(""); }