profiles: Use timeout_add_seconds
authorFrédéric Danis <frederic.danis@collabora.com>
Tue, 16 Mar 2021 17:18:36 +0000 (18:18 +0100)
committerAyush Garg <ayush.garg@samsung.com>
Fri, 11 Mar 2022 13:38:34 +0000 (19:08 +0530)
commitc719811276b032ca047343fbb043b0a178d0ea78
treea922285a188e182f199d495df5d51df6dea867fa
parent536a3a86ce36e0ec581b6c02901417f49c6bc222
profiles: Use timeout_add_seconds

Replace calls to g_timeout_add_seconds() by the timeout_add_seconds()
wrapper which takes care of 0 delay.

Signed-off-by: Anuj Jain <anuj01.jain@samsung.com>
Signed-off-by: Ayush Garg <ayush.garg@samsung.com>
profiles/audio/a2dp.c
profiles/audio/avctp.c
profiles/audio/avdtp.c
profiles/audio/avrcp.c
profiles/health/hdp.c
profiles/health/mcap.c
profiles/input/device.c
profiles/network/bnep.c
profiles/sap/server.c