habanalabs: remove redundant argument in access_dev_mem APIs
authorOfir Bitton <obitton@habana.ai>
Mon, 27 Jun 2022 13:59:02 +0000 (16:59 +0300)
committerOded Gabbay <ogabbay@kernel.org>
Tue, 12 Jul 2022 06:09:26 +0000 (09:09 +0300)
commitccf991e4f2205e98cfbb6e8f2d7b477bd378328f
treecf649c54a96a7254ef0b999022df916cfe0cf579
parent9c7fde71a7744a1934436397b1cb63460faf5c4c
habanalabs: remove redundant argument in access_dev_mem APIs

Region structure is derived from region type, hence no need to pass
it as an argument.

Signed-off-by: Ofir Bitton <obitton@habana.ai>
Reviewed-by: Oded Gabbay <ogabbay@kernel.org>
Signed-off-by: Oded Gabbay <ogabbay@kernel.org>
drivers/misc/habanalabs/common/debugfs.c
drivers/misc/habanalabs/common/device.c
drivers/misc/habanalabs/common/habanalabs.h