device: add device_remove_bonding function
authorArchie Pusaka <apusaka@chromium.org>
Thu, 16 Jul 2020 18:04:32 +0000 (02:04 +0800)
committerAyush Garg <ayush.garg@samsung.com>
Mon, 12 Apr 2021 09:00:50 +0000 (14:30 +0530)
commite1191f2729f40f83c8eb934b3b8275b123ebff8f
treed5e781a036bb2ee37b7acf860b18e933a9ea31df
parentd26409a78c1a29b3fbb2eb95471c38aab9c44d4a
device: add device_remove_bonding function

This patch splits the "bonding removal" function in device.c,
because we need to remove bonding information when receiving
"virtual cable unplug" in HID profile.

Signed-off-by: Anuj Jain <anuj01.jain@samsung.com>
Signed-off-by: Ayush Garg <ayush.garg@samsung.com>
src/device.c
src/device.h