diff options
author | Yunhee Seo <yuni.seo@samsung.com> | 2024-04-24 15:52:02 +0900 |
---|---|---|
committer | Yunhee Seo <yuni.seo@samsung.com> | 2024-04-24 16:17:32 +0900 |
commit | 46dbc0d0058fe57b71217d2a7f667b302b6c7099 (patch) | |
tree | 9ca01a7c057e6f9aafc67a01b648f22e4859f5d3 | |
parent | 32495eccb966fa0cb17f8f1c9601d8a1e998faac (diff) | |
download | device-46dbc0d0058fe57b71217d2a7f667b302b6c7099.tar.gz device-46dbc0d0058fe57b71217d2a7f667b302b6c7099.tar.bz2 device-46dbc0d0058fe57b71217d2a7f667b302b6c7099.zip |
device-external_connection: Change data struct variable name properly
In hal_device_external_connection_info_s structure,
the name used to distinguish specific device type with string name.
Since there is an enumeration that can distinguish device types,
change the name to an appropriate one.
"name" is changed to "device_type".
Change-Id: Id45547bb04c226d992c287797797f896b87285f1
Signed-off-by: Yunhee Seo <yuni.seo@samsung.com>
-rw-r--r-- | include/hal-device-external_connection-types.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/hal-device-external_connection-types.h b/include/hal-device-external_connection-types.h index e99253a..6b1a94b 100644 --- a/include/hal-device-external_connection-types.h +++ b/include/hal-device-external_connection-types.h @@ -41,7 +41,7 @@ typedef enum { * @since HAL_MODULE_DEVICE_EXTERNAL_CONNECTION 1.0 */ typedef struct { - hal_device_external_connection_device_type_e name; /**< This indicates switch device type (Since HAL_MODULE_DEVICE_EXTERNAL_CONNECTION 1.0) */ + hal_device_external_connection_device_type_e device_type; /**< This indicates switch device type (Since HAL_MODULE_DEVICE_EXTERNAL_CONNECTION 1.0) */ char *state; /**< This indicates current state of the switch device, e.g) "on" of "off" (Since HAL_MODULE_DEVICE_EXTERNAL_CONNECTION 1.0) */ int flags; |