Skip to content

Commit e5ce073

Browse files
marckleinebuddejenswi-linaro
authored andcommitted
tee: tee_get_drvdata(): fix description of return value
This patch fixes the description of tee_get_drvdata()'s return value. It actually returns the driver_data pointer supplied to tee_device_alloc() since the TEE subsystem was added to the kernel. Fixes: 967c9cc ("tee: generic TEE subsystem") Cc: Jens Wiklander <jens.wiklander@linaro.org> Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de> Signed-off-by: Jens Wiklander <jens.wiklander@linaro.org>
1 parent b66527e commit e5ce073

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

drivers/tee/tee_core.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1073,7 +1073,7 @@ EXPORT_SYMBOL_GPL(tee_device_unregister);
10731073
/**
10741074
* tee_get_drvdata() - Return driver_data pointer
10751075
* @teedev: Device containing the driver_data pointer
1076-
* @returns the driver_data pointer supplied to tee_register().
1076+
* @returns the driver_data pointer supplied to tee_device_alloc().
10771077
*/
10781078
void *tee_get_drvdata(struct tee_device *teedev)
10791079
{

0 commit comments

Comments
 (0)