Re: [PATCH] net: ec_bhf: Use module_pci_driver

From: David Miller
Date: Wed Jul 08 2015 - 19:04:36 EST


From: Vaishali Thakkar <vthakkar1994@xxxxxxxxx>
Date: Tue, 7 Jul 2015 12:32:54 +0530

> Use module_pci_driver for drivers whose init and exit functions
> only register and unregister, respectively.
>
> A simplified version of the Coccinelle semantic patch that performs
> this transformation is as follows:
...
> Signed-off-by: Vaishali Thakkar <vthakkar1994@xxxxxxxxx>

Applied to net-next, thanks.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/