Commit 9decff5f authored by Christophe JAILLET's avatar Christophe JAILLET Committed by Jens Wiklander
Browse files

optee: Use bitmap_free() to free bitmap



kfree() and bitmap_free() are the same. But using the latter is more
consistent when freeing memory allocated with bitmap_zalloc().

Signed-off-by: default avatarChristophe JAILLET <christophe.jaillet@wanadoo.fr>
Reviewed-by: default avatarSumit Garg <sumit.garg@linaro.org>
Signed-off-by: default avatarJens Wiklander <jens.wiklander@linaro.org>
parent e783362e
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -121,5 +121,5 @@ int optee_notif_init(struct optee *optee, u_int max_key)

void optee_notif_uninit(struct optee *optee)
{
	kfree(optee->notif.bitmap);
	bitmap_free(optee->notif.bitmap);
}