]> git.itanic.dy.fi Git - linux-stable/commit
tee: optee: Drop ffa_ops in optee_ffa structure using ffa_dev->ops directly
authorSudeep Holla <sudeep.holla@arm.com>
Wed, 7 Sep 2022 14:52:32 +0000 (15:52 +0100)
committerSudeep Holla <sudeep.holla@arm.com>
Thu, 8 Sep 2022 10:30:34 +0000 (11:30 +0100)
commit320c3fa38c514eb71aa188da3495e13da9a30542
tree4bdbf271eb38b9233463776b4ab5ada994395e82
parentd01387fc16421cbbf95d1fda8fe1258195396c64
tee: optee: Drop ffa_ops in optee_ffa structure using ffa_dev->ops directly

Now that the ffa_device structure holds the pointer to ffa_dev_ops,
there is no need to obtain the same through ffa_dev_ops_get().

Just use the ffa_dev->ops directly. Since the ffa_device itself carries
ffa_dev_ops now, there is no need to keep a copy in optee_ffa structure.

Drop ffa_ops in the optee_ffa structure as it is not needed anymore.

Link: https://lore.kernel.org/r/20220907145240.1683088-3-sudeep.holla@arm.com
Reviewed-by: Jens Wiklander <jens.wiklander@linaro.org>
Reviewed-by: Sumit Garg <sumit.garg@linaro.org>
Signed-off-by: Sudeep Holla <sudeep.holla@arm.com>
drivers/tee/optee/ffa_abi.c
drivers/tee/optee/optee_private.h