From: Yunhee Seo Date: Mon, 29 Apr 2024 02:49:38 +0000 (+0900) Subject: extcon: Change the variable name in hal_device_external_connection_info_s structure X-Git-Tag: accepted/tizen/unified/20240614.084923~4 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=2ac7c77ca024cc1f1177e9660c21a6cb15d27374;p=platform%2Fcore%2Fsystem%2Fdeviced.git extcon: Change the variable name in hal_device_external_connection_info_s structure As name variable changed to device_type in hal_device_external_connection_info_s structure, also deviced usage code is changed. "name" -> "device_type". Change-Id: I383bc695e4274ecbbfb3a05d4778ef66d4368ede Signed-off-by: Yunhee Seo --- diff --git a/src/extcon/extcon.c b/src/extcon/extcon.c index 0a43a53c..bc4c1b07 100644 --- a/src/extcon/extcon.c +++ b/src/extcon/extcon.c @@ -388,7 +388,7 @@ static void extcon_changed(hal_device_external_connection_info_s *info, void *da if (!info->state) return; - ret = hal_device_external_connection_get_device_name(info->name, &extcon_device_name); + ret = hal_device_external_connection_get_device_name(info->device_type, &extcon_device_name); if (ret < 0) _W("Failed to get external connection device name"); /* call to update */