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

From: Libo Chen
Date: Tue May 28 2013 - 03:44:34 EST


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 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.
>

Thank Gu, Thomas, David and yours suggestions!

Regards

Libo

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