]> git.ipfire.org Git - thirdparty/linux.git/commitdiff
drm/amd/display: Adjust get_value function with prefix to help in ftrace
authorLeonardo Gomes <leonardodasigomes@gmail.com>
Sat, 17 May 2025 14:20:54 +0000 (11:20 -0300)
committerAlex Deucher <alexander.deucher@amd.com>
Thu, 22 May 2025 16:01:42 +0000 (12:01 -0400)
Adjust get_value function in hw_hpd.c file to have
prefix to help in ftrace, the name change from
'get_value' to 'dal_hw_hpd_get_value'

Signed-off-by: Leonardo da Silva Gomes <leonardodasigomes@gmail.com>
Co-developed-by: Derick Frias <derick.william.moraes@gmail.com>
Signed-off-by: Derick Frias <derick.william.moraes@gmail.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/display/dc/gpio/hw_hpd.c

index 3f13a744d07da634ec02219aa70fa9cd99094274..886dd05b012ff1e61c17a889ed72b14acf2a4daf 100644 (file)
@@ -62,7 +62,7 @@ static void dal_hw_hpd_destroy(
        *ptr = NULL;
 }
 
-static enum gpio_result get_value(
+static enum gpio_result dal_hw_hpd_get_value(
        const struct hw_gpio_pin *ptr,
        uint32_t *value)
 {
@@ -104,7 +104,7 @@ static enum gpio_result set_config(
 static const struct hw_gpio_pin_funcs funcs = {
        .destroy = dal_hw_hpd_destroy,
        .open = dal_hw_gpio_open,
-       .get_value = get_value,
+       .get_value = dal_hw_hpd_get_value,
        .set_value = dal_hw_gpio_set_value,
        .set_config = set_config,
        .change_mode = dal_hw_gpio_change_mode,