Re: [PATCH] ARM: mact-pxa: Use module_platform_driver

From: Robert Jarzmik
Date: Fri Jul 03 2015 - 16:56:47 EST


Vaishali Thakkar <vthakkar1994@xxxxxxxxx> writes:

> Use module_platform_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:

Applied to pxa/for-next, thanks.
For next time, please use the "ARM: pxa:" subject prefix for arch/arm/mach-pxa
patches. I fixed this for this submission.

Cheers.

--
Robert
--
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/