Commit e5ce073c authored by Marc Kleine-Budde's avatar Marc Kleine-Budde Committed by Jens Wiklander
Browse files

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: 967c9cca ("tee: generic TEE subsystem")
Cc: Jens Wiklander <jens.wiklander@linaro.org>
Signed-off-by: default avatarMarc Kleine-Budde <mkl@pengutronix.de>
Signed-off-by: default avatarJens Wiklander <jens.wiklander@linaro.org>
parent b66527ee
Loading
Loading
Loading
Loading
+1 −1
Original line number Original line Diff line number Diff line
@@ -1073,7 +1073,7 @@ EXPORT_SYMBOL_GPL(tee_device_unregister);
/**
/**
 * tee_get_drvdata() - Return driver_data pointer
 * tee_get_drvdata() - Return driver_data pointer
 * @teedev:	Device containing the driver_data pointer
 * @teedev:	Device containing the driver_data pointer
 * @returns the driver_data pointer supplied to tee_register().
 * @returns the driver_data pointer supplied to tee_device_alloc().
 */
 */
void *tee_get_drvdata(struct tee_device *teedev)
void *tee_get_drvdata(struct tee_device *teedev)
{
{