Remove free data section when the module exits 37/310237/1 accepted/tizen/unified/20240614.085003 accepted/tizen/unified/dev/20240620.010526
authorYunhee Seo <yuni.seo@samsung.com>
Wed, 24 Apr 2024 08:22:42 +0000 (17:22 +0900)
committerYunhee Seo <yuni.seo@samsung.com>
Wed, 24 Apr 2024 08:22:42 +0000 (17:22 +0900)
commit7342f959728d1e502ade2b176f10aa277f903c0a
tree1c90f4524685dfe1eb48075a1f01df7b153533bd
parentd11e00075296691fcb691f1e307ada8fa18ef325
Remove free data section when the module exits

In the hal backend module, when the moudle exits, the hal_backend_[module]_funcs was
handled from [module]_exit function.
The data parameter is handed over from hal-api-common put_backend function.
And data is pointing to hal_backend_[module]_funcs, and free by hal-backend module.
As memory release operation moves to the hal-api-device side,
also double free operation is useless, thus it is deleted from hal-backend.

Change-Id: I43d1043df40cad6ddf97569f13ede1f2b2afd184
Signed-off-by: Yunhee Seo <yuni.seo@samsung.com>
hw/board/board.c
hw/display/display.c
hw/haptic/gpio.c
hw/memory/memory.c
hw/thermal/thermal.c
hw/touchscreen/touchscreen.c