net: qmi_wwan: use module_usb_driver macro
Signed-off-by: Bjørn Mork <bjorn@mork.no> Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
parent
a40345b5b4
commit
677a3d60fb
1 changed files with 1 additions and 11 deletions
|
@ -593,17 +593,7 @@ static struct usb_driver qmi_wwan_driver = {
|
|||
.disable_hub_initiated_lpm = 1,
|
||||
};
|
||||
|
||||
static int __init qmi_wwan_init(void)
|
||||
{
|
||||
return usb_register(&qmi_wwan_driver);
|
||||
}
|
||||
module_init(qmi_wwan_init);
|
||||
|
||||
static void __exit qmi_wwan_exit(void)
|
||||
{
|
||||
usb_deregister(&qmi_wwan_driver);
|
||||
}
|
||||
module_exit(qmi_wwan_exit);
|
||||
module_usb_driver(qmi_wwan_driver);
|
||||
|
||||
MODULE_AUTHOR("Bjørn Mork <bjorn@mork.no>");
|
||||
MODULE_DESCRIPTION("Qualcomm MSM Interface (QMI) WWAN driver");
|
||||
|
|
Loading…
Reference in a new issue