nfc: mrvl: simplify with module_driver
authorKrzysztof Kozlowski <krzysztof.kozlowski@canonical.com>
Mon, 31 May 2021 07:38:56 +0000 (09:38 +0200)
committerJakub Kicinski <kuba@kernel.org>
Tue, 1 Jun 2021 04:32:37 +0000 (21:32 -0700)
commite3bf5531e6e6d5a7a498cb21079a135726fd7fb8
treeaf9c61230f16b3f94c247709d0ca8dfa646b98e6
parent8f99528ef5e2aaee5b17bd97271a4e1dd4ee9b35
nfc: mrvl: simplify with module_driver

Remove standard module init/exit boilerplate with module_driver() which
also annotates the functions with __init.

Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@canonical.com>
Link: https://lore.kernel.org/r/20210531073902.7111-1-krzysztof.kozlowski@canonical.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
drivers/nfc/nfcmrvl/uart.c