]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit9a0bfcdc488a4bb4f418ce4268ba1b8e21080f67
treecf649c54a96a7254ef0b999022df916cfe0cf579
parentd6b11c62bb62d9b738f83ff21466da9ae2b86123
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