Re: [PATCH] mtd: denali: Use module_pci_driver

2015-08-18 Thread Vaishali Thakkar
On Wed, Aug 19, 2015 at 6:02 AM, Brian Norris wrote: > > On Tue, Jul 07, 2015 at 12:53:45PM +0530, Vaishali Thakkar wrote: > > Use module_pci_driver for drivers whose init and exit functions > > only register and unregister, respectively. > > > > A simplified version of the Coccinelle semantic pat

Re: [PATCH] mtd: denali: Use module_pci_driver

2015-08-18 Thread Brian Norris
On Tue, Jul 07, 2015 at 12:53:45PM +0530, Vaishali Thakkar wrote: > 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: > > @a@ >

Re: [PATCH] mtd: denali: Use module_pci_driver()

2015-08-18 Thread Brian Norris
On Tue, Jul 07, 2015 at 10:54:03PM -0700, Rajat Jain wrote: > Use module_pci_driver, since init and exit functions only register > and unregister the pci driver, respectively. > > Signed-off-by: Rajat Jain > Signed-off-by: Rajat Jain I pushed an identical patch to l2-mtd.git from another author