net: wwan: iosm: Switch to use module_pci_driver() macro
authorAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Wed, 21 Jul 2021 08:20:58 +0000 (11:20 +0300)
committerDavid S. Miller <davem@davemloft.net>
Wed, 21 Jul 2021 16:01:05 +0000 (09:01 -0700)
commit7f8b20d0deed64629049b634e323e39d9f1a4fe3
treeff732df716d04a7af70ede91bf1b3d2f94da9de2
parentdcb713d53e2eadf42b878c12a471e74dc6ed3145
net: wwan: iosm: Switch to use module_pci_driver() macro

Eliminate some boilerplate code by using module_pci_driver() instead of
init/exit, moving the salient bits from init into probe.

Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Reviewed-by: Loic Poulain <loic.poulain@linaro.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/wwan/iosm/iosm_ipc_pcie.c