gap: Use shorter names for profile callback
diff --git a/profiles/gap/gas.c b/profiles/gap/gas.c
index 2077ed9..47c8c25 100644
--- a/profiles/gap/gas.c
+++ b/profiles/gap/gas.c
@@ -195,7 +195,7 @@
gatt_db_service_foreach_char(gas->attr, handle_characteristic, gas);
}
-static int gap_driver_probe(struct btd_service *service)
+static int gap_probe(struct btd_service *service)
{
struct btd_device *device = btd_service_get_device(service);
struct gas *gas = btd_service_get_user_data(service);
@@ -220,7 +220,7 @@
return 0;
}
-static void gap_driver_remove(struct btd_service *service)
+static void gap_remove(struct btd_service *service)
{
struct btd_device *device = btd_service_get_device(service);
struct gas *gas;
@@ -260,7 +260,7 @@
gas->client = NULL;
}
-static int gap_driver_accept(struct btd_service *service)
+static int gap_accept(struct btd_service *service)
{
struct btd_device *device = btd_service_get_device(service);
struct gatt_db *db = btd_device_get_gatt_db(device);
@@ -309,9 +309,9 @@
static struct btd_profile gap_profile = {
.name = "gap-profile",
.remote_uuid = GAP_UUID,
- .device_probe = gap_driver_probe,
- .device_remove = gap_driver_remove,
- .accept = gap_driver_accept,
+ .device_probe = gap_probe,
+ .device_remove = gap_remove,
+ .accept = gap_accept,
.disconnect = gap_disconnect,
};