halapi: common: Remove deprecated global variable and abi_version in hal_backend
authorChanwoo Choi <cw00.choi@samsung.com>
Mon, 16 Dec 2024 04:20:41 +0000 (13:20 +0900)
committerChanwoo Choi <cw00.choi@samsung.com>
Mon, 16 Dec 2024 10:27:35 +0000 (19:27 +0900)
The variables related to 'abi_version' has not used anymore.
Remove deprecated global variable and abi_version in hal_backend
structure.

Change-Id: I1a40fb01cd18d8b3fbbb45f712df3a4b8c786734
Signed-off-by: Chanwoo Choi <cw00.choi@samsung.com>
include/hal-common-interface.h
packaging/hal-api-common.spec

index 7ced1b64787c120ec51fb1153182c9640acc653a..cb867706e10f58a6c43aebbead21348d40fb2ad8 100644 (file)
 extern "C" {
 #endif
 
-enum hal_abi_version {
-       HAL_ABI_VERSION_UNKNOWN = 0, /* Deprecated */
-       HAL_ABI_VERSION_TIZEN_6_5 = 1, /* Deprecated */
-       HAL_ABI_VERSION_TIZEN_7_0 = 2, /* Deprecated */
-       HAL_ABI_VERSION_TIZEN_7_5 = 3, /* Deprecated */
-       HAL_ABI_VERSION_TIZEN_8_0 = 3, /* Deprecated */
-       HAL_ABI_VERSION_TIZEN_9_0 = 4, /* Deprecated */
-       HAL_ABI_VERSION_END, /* Deprecated */
-};
-
-static const char *const hal_abi_version_str[] = {
-       [HAL_ABI_VERSION_UNKNOWN]       = "Unknown HAL ABI Version",
-       [HAL_ABI_VERSION_TIZEN_6_5]     = "HAL_ABI_VERSION_TIZEN_6_5",
-       [HAL_ABI_VERSION_TIZEN_7_0]     = "HAL_ABI_VERSION_TIZEN_7_0",
-       [HAL_ABI_VERSION_TIZEN_8_0]     = "HAL_ABI_VERSION_TIZEN_8_0",
-       [HAL_ABI_VERSION_TIZEN_9_0]     = "HAL_ABI_VERSION_TIZEN_9_0",
-};
-
 typedef struct __hal_backend {
        const char *name;
        const char *vendor;
-       const unsigned int abi_version; /* Deprecated */
        int (*init) (void **data);
        int (*exit) (void *data);
        const unsigned int major_version;
index 771d8064ed73c663de66c0f678f3842a1d0b4a9c..c82f4970806461b931ad359ae3874fdfe7aa801b 100644 (file)
@@ -10,7 +10,7 @@
 ### main package #########
 Name:       %{name}
 Summary:    %{name} interface
-Version:    1.0.2
+Version:    1.0.3
 Release:    2
 Group:      Development/Libraries
 License:    Apache-2.0