Revert "Revert "halapi: common: Remove deprecated global variable and abi_version... 67/318267/1 accepted/tizen/unified/20250117.152454 accepted/tizen/unified/x/20250117.125239
authorChanwoo Choi <cw00.choi@samsung.com>
Wed, 15 Jan 2025 02:22:04 +0000 (11:22 +0900)
committerChanwoo Choi <cw00.choi@samsung.com>
Wed, 15 Jan 2025 02:22:55 +0000 (11:22 +0900)
This reverts commit d2766e216b95a0e4fa7e2cab94ad408548ab9fbd.

The variables related to 'abi_version' has not used anymore.
Remove deprecated global variable and abi_version in hal_backend
structure.

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

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;