]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
accel/habanalabs: save class in hdev
authorOded Gabbay <ogabbay@kernel.org>
Sun, 22 Jan 2023 15:11:31 +0000 (17:11 +0200)
committerOded Gabbay <ogabbay@kernel.org>
Wed, 15 Mar 2023 11:29:11 +0000 (13:29 +0200)
commit323adae99f99e900eedb9d3aba9ded9bf5a20c05
treeacbd541000d7cb8b3692d71908145346f27a0293
parent89859a8997d7ae37efbdea23f3e96bf6cf735e9f
accel/habanalabs: save class in hdev

It is more concise than to pass it to device init. Once we will add the
accel class, then we won't need to change the function signatures.

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/device.c
drivers/accel/habanalabs/common/habanalabs.h
drivers/accel/habanalabs/common/habanalabs_drv.c