From 8e3fe6a3ed679fa2bf78149a8ed2e6088c7c67e3 Mon Sep 17 00:00:00 2001 From: Michał Winiarski Date: Wed, 13 Mar 2019 12:29:10 +0100 Subject: lib/igt_sysfs: Remove idx from sysfs_open MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Similar to sysfs_path - more explicit more better. Signed-off-by: Michał Winiarski Reviewed-by: Chris Wilson --- tools/intel_l3_parity.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tools') diff --git a/tools/intel_l3_parity.c b/tools/intel_l3_parity.c index d1a9bc44..d8c997af 100644 --- a/tools/intel_l3_parity.c +++ b/tools/intel_l3_parity.c @@ -191,7 +191,7 @@ int main(int argc, char *argv[]) assert(intel_register_access_init(intel_get_pci_device(), 0, device) == 0); - dir = igt_sysfs_open(device, NULL); + dir = igt_sysfs_open(device); for_each_slice(i) { fd[i] = openat(dir, path[i], O_RDWR); -- cgit v1.2.3