platform/x86/intel: tpmi: Revise the comment of intel_vsec_add_aux
authorDongliang Mu <dzm91@hust.edu.cn>
Thu, 9 Mar 2023 04:01:06 +0000 (12:01 +0800)
committerHans de Goede <hdegoede@redhat.com>
Mon, 20 Mar 2023 12:11:55 +0000 (13:11 +0100)
commit8d13d50b157655247cdb3a69aca7836b58ff8735
treed44d611a98313d278bc62ef6b3704d98a5e2b8ee
parent4d5a2a7d2c97dbd658533eea5f79dab1ad5dc0ee
platform/x86/intel: tpmi: Revise the comment of intel_vsec_add_aux

intel_vsec_add_aux() is resource managed including res and
feature_vsec_dev memory.

Fix this by revising the comment of intel_vsec_add_aux since res variable
will also be freed in the intel_vsec_add_aux.

Signed-off-by: Dongliang Mu <dzm91@hust.edu.cn>
Link: https://lore.kernel.org/r/20230309040107.534716-3-dzm91@hust.edu.cn
Reviewed-by: Hans de Goede <hdegoede@redhat.com>
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
drivers/platform/x86/intel/tpmi.c