[PATCH] ARM: mact-pxa: Use module_platform_driver

Robert Jarzmik robert.jarzmik at free.fr
Fri Jul 3 13:53:47 PDT 2015


Vaishali Thakkar <vthakkar1994 at gmail.com> 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



More information about the linux-arm-kernel mailing list