Loading
net: arcnet: com20020-pci: use module_pci_driver
The only thing this driver's init/exit functions do is call pci_register/unregister_driver, and in the case of the init function, print an unnecessary message. Replace them with module_pci_driver to simplify the code. Signed-off-by:Ethan Nelson-Moore <enelsonmoore@gmail.com> Reviewed-by:
Simon Horman <horms@kernel.org> Link: https://patch.msgid.link/20260205070632.37516-1-enelsonmoore@gmail.com Signed-off-by:
Paolo Abeni <pabeni@redhat.com>