Clean up handle free function 19/130619/4
authorHyeongsik Min <hyeongsik.min@samsung.com>
Tue, 23 May 2017 06:22:05 +0000 (15:22 +0900)
committerHyeongsik Min <hyeongsik.min@samsung.com>
Wed, 24 May 2017 05:19:48 +0000 (05:19 +0000)
commitace2b907a42b588c5348bb920ebbe756ec6f558a
tree997c9d39ef038e9e16caf970368dc4c55152a0c4
parentb67edeed3acfa63ae98bd7e0b91252e64f054e2e
Clean up handle free function

Without traversing the list, this patch uses g_list_find() to get a link of
current handle.

Change-Id: I7ec38d61c09f6c6fd1c68c6f93f50759109c0fdb
Signed-off-by: Hyeongsik Min <hyeongsik.min@samsung.com>
src/daemon/peripheral_bus_i2c.c
src/daemon/peripheral_bus_pwm.c
src/daemon/peripheral_bus_uart.c