lkml.org 
[lkml]   [2015]   [Jul]   [15]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH] phy: Drop owner assignment from i2c_driver


On Friday 10 July 2015 11:08 AM, Krzysztof Kozlowski wrote:
> i2c_driver does not need to set an owner because i2c_register_driver()
> will set it.
>
> Signed-off-by: Krzysztof Kozlowski <k.kozlowski@samsung.com>

merged.

-Kishon
>
> ---
>
> The coccinelle script which generated the patch was sent here:
> http://www.spinics.net/lists/kernel/msg2029903.html
> ---
> drivers/phy/phy-armada375-usb2.c | 1 -
> 1 file changed, 1 deletion(-)
>
> diff --git a/drivers/phy/phy-armada375-usb2.c b/drivers/phy/phy-armada375-usb2.c
> index 8ccc3952c13d..39c7d21f12da 100644
> --- a/drivers/phy/phy-armada375-usb2.c
> +++ b/drivers/phy/phy-armada375-usb2.c
> @@ -149,7 +149,6 @@ static struct platform_driver armada375_usb_phy_driver = {
> .driver = {
> .of_match_table = of_usb_cluster_table,
> .name = "armada-375-usb-cluster",
> - .owner = THIS_MODULE,
> }
> };
> module_platform_driver(armada375_usb_phy_driver);
>


\
 
 \ /
  Last update: 2015-07-15 16:01    [W:0.085 / U:0.936 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site