RE: [PATCH 04/27] habanalabs: save class in hdev

2023-02-16 Thread Tomer Tayar
On Sun, Feb 12, 2023 at 22:45 Oded Gabbay wrote: > 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 Reviewed-by: Tomer Tayar

[PATCH 04/27] habanalabs: save class in hdev

2023-02-12 Thread Oded Gabbay
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 --- drivers/accel/habanalabs/common/device.c | 16 drivers/accel/habanalabs/common/habanalabs.h | 4