* [PATCH] phy: Drop owner assignment from i2c_driver
@ 2015-07-10 5:38 Krzysztof Kozlowski
2015-07-15 13:27 ` Kishon Vijay Abraham I
0 siblings, 1 reply; 2+ messages in thread
From: Krzysztof Kozlowski @ 2015-07-10 5:38 UTC (permalink / raw)
To: Kishon Vijay Abraham I, linux-kernel; +Cc: Krzysztof Kozlowski
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>
---
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);
--
1.9.1
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH] phy: Drop owner assignment from i2c_driver
2015-07-10 5:38 [PATCH] phy: Drop owner assignment from i2c_driver Krzysztof Kozlowski
@ 2015-07-15 13:27 ` Kishon Vijay Abraham I
0 siblings, 0 replies; 2+ messages in thread
From: Kishon Vijay Abraham I @ 2015-07-15 13:27 UTC (permalink / raw)
To: Krzysztof Kozlowski, linux-kernel
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);
>
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2015-07-15 13:27 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-07-10 5:38 [PATCH] phy: Drop owner assignment from i2c_driver Krzysztof Kozlowski
2015-07-15 13:27 ` Kishon Vijay Abraham I
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox