nfc: annotate af_nfc_exit() as __exit

The af_nfc_exit() is used only in other __exit annotated context
(nfc_exit()).

Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@canonical.com>
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
This commit is contained in:
Krzysztof Kozlowski 2021-07-30 16:41:57 +02:00 committed by Jakub Kicinski
parent 3833b87408
commit bf6cd7720b

View File

@ -79,7 +79,7 @@ int __init af_nfc_init(void)
return sock_register(&nfc_sock_family_ops);
}
void af_nfc_exit(void)
void __exit af_nfc_exit(void)
{
sock_unregister(PF_NFC);
}