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

2013-05-28 Thread Libo Chen
On 2013/5/25 20:22, Greg KH wrote: > 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 mod

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

2013-05-25 Thread Greg KH
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: Lib

[PATCH] module: use a macro instead of platform_driver_register

2013-05-24 Thread Libo Chen
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 --- drivers/base/platform.c |8 +--- include/l