Re: [PATCH] module: use a macro instead of platform_driver_register

From: Greg KH
Date: Sat May 25 2013 - 08:22:24 EST


On Sat, May 25, 2013 at 12:40:50PM +0800, Libo Chen wrote:
>
> I found a lot of mistakes using struct platform_driver without owner
> so I make a macro instead of the function platform_driver_register.
> It can set owner in it, then guys don`t care about module owner again.
>
> Signed-off-by: Libo Chen <libo.chen@xxxxxxxxxx>

Nice job, that's the better way to fix this, I'll queue it up for 3.11.

thanks,

greg k-h
--
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/