habanalabs: small code refactoring
authorKoby Elbaz <kelbaz@habana.ai>
Thu, 3 Jun 2021 10:18:20 +0000 (13:18 +0300)
committerOded Gabbay <ogabbay@kernel.org>
Fri, 18 Jun 2021 12:23:41 +0000 (15:23 +0300)
commit12d133deb30d55076efaf7d2fdbce0a9a0ce8501
treef8be7b0a599d74208ad5ba166f63a7aea8a69242
parentf1a29770b2158c2c5a4c92cfd57600a6d6062973
habanalabs: small code refactoring

Use datatype defines instead of hard coded values,
and rename set_fixed_properties function.

Signed-off-by: Koby Elbaz <kelbaz@habana.ai>
Reviewed-by: Oded Gabbay <ogabbay@kernel.org>
Signed-off-by: Oded Gabbay <ogabbay@kernel.org>
drivers/misc/habanalabs/common/device.c
drivers/misc/habanalabs/gaudi/gaudi.c
drivers/misc/habanalabs/goya/goya.c
drivers/misc/habanalabs/goya/goyaP.h