[PATCH 7/9] phy: remove .owner field for drivers using module_platform_driver
Kishon Vijay Abraham I
kishon at ti.com
Wed Sep 17 22:32:46 PDT 2014
On Thursday 18 September 2014 12:34 AM, Peter Griffin wrote:
> Hi Kishon,
>
> On Wed, 17 Sep 2014, Kishon Vijay Abraham I wrote:
>
>> Hi,
>>
>> On Friday 15 August 2014 06:10 PM, Peter Griffin wrote:
>>> This patch removes the superflous .owner field for drivers which
>>> use the module_platform_driver or platform_driver_register api,
>>> as this is overriden in __platform_driver_register.
>>>
>>> Signed-off-by: Peter Griffin <peter.griffin at linaro.org>
>
> <snip>
>>> drivers/phy/phy-twl4030-usb.c | 1 -
>>
>> twl4030-usb doesn't use module_platform_driver. Care to resend this patch
>> along? I've merged all other patches in this series.
>
> That is true, but it does use platform_driver_register whih overrides .owner.
> So the patch is stil good I think (fyi see include/linux/platform_device.h).
Indeed. Will merge this one.
Thanks
Kishon
More information about the linux-arm-kernel
mailing list