accel/habanalabs: refactor debugfs init
authorOded Gabbay <ogabbay@kernel.org>
Sun, 22 Jan 2023 21:04:10 +0000 (23:04 +0200)
committerOded Gabbay <ogabbay@kernel.org>
Wed, 15 Mar 2023 11:29:11 +0000 (13:29 +0200)
commit271b2d5f30d7e84c93d6869f3d6f16a4e49718b0
treebe2b38e0e43f54ff28c7ece578da56d7eae97a00
parent323adae99f99e900eedb9d3aba9ded9bf5a20c05
accel/habanalabs: refactor debugfs init

Make it easier to later add support for accel device.

Signed-off-by: Oded Gabbay <ogabbay@kernel.org>
Reviewed-by: Tomer Tayar <ttayar@habana.ai>
Reviewed-by: Stanislaw Gruszka <stanislaw.gruszka@linux.intel.com>
drivers/accel/habanalabs/common/debugfs.c