From 3c7de9a662afff151574ada014e2c08085f57ba4 Mon Sep 17 00:00:00 2001 From: José Roberto de Souza Date: Thu, 20 Sep 2018 10:59:17 -0700 Subject: lib/igt_psr: Give a explicit parameter name to functions that expect debugfs fd MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Let's rename to debugfs_fd all the parameters of the functions that expect debugfs fd to avoid call one those functions with the wrong file descriptor. Reviewed-by: Dhinakaran Pandiyan Signed-off-by: José Roberto de Souza --- lib/igt_psr.h | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'lib/igt_psr.h') diff --git a/lib/igt_psr.h b/lib/igt_psr.h index 0ef22c3d..7c846afb 100644 --- a/lib/igt_psr.h +++ b/lib/igt_psr.h @@ -28,9 +28,9 @@ #include "igt_core.h" #include "igt_aux.h" -bool psr_wait_entry(int fd); -bool psr_active(int fd, bool check_active); -bool psr_enable(int fd); -bool psr_disable(int fd); +bool psr_wait_entry(int debugfs_fd); +bool psr_active(int debugfs_fd, bool check_active); +bool psr_enable(int debugfs_fd); +bool psr_disable(int debugfs_fd); #endif -- cgit v1.2.3