Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1184803

Re: [PATCH] phy: Drop owner assignment from i2c_driver

Path csiph.com!aioe.org!bofh.it!news.nic.it!robomod
From Kishon Vijay Abraham I <kishon@ti.com>
Newsgroups linux.kernel
Subject Re: [PATCH] phy: Drop owner assignment from i2c_driver
Date Wed, 15 Jul 2015 15:30:01 +0200
Message-ID <pMuV3-jB-15@gated-at.bofh.it> (permalink)
References <pKzcu-1Lq-21@gated-at.bofh.it>
X-Original-To Krzysztof Kozlowski <k.kozlowski@samsung.com>, <linux-kernel@vger.kernel.org>
User-Agent Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.0
MIME-Version 1.0
Content-Type text/plain; charset="windows-1252"
Content-Transfer-Encoding 7bit
Sender robomod@news.nic.it
List-ID <linux-kernel.vger.kernel.org>
X-Mailing-List linux-kernel@vger.kernel.org
Approved robomod@news.nic.it
Lines 38
Organization linux.* mail to news gateway
X-Original-Date Wed, 15 Jul 2015 18:57:26 +0530
X-Original-Message-ID <55A65FBE.7040203@ti.com>
X-Original-References <1436506690-15489-1-git-send-email-k.kozlowski@samsung.com>
X-Original-Sender linux-kernel-owner@vger.kernel.org
Xref aioe.org linux.kernel:1184803

Show key headers only | View raw



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);
> 
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Back to linux.kernel | Previous | Next | Find similar | Unroll thread


Thread

Re: [PATCH] phy: Drop owner assignment from i2c_driver Kishon Vijay Abraham I <kishon@ti.com> - 2015-07-15 15:30 +0200

csiph-web