Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753252AbbGJG0n (ORCPT ); Fri, 10 Jul 2015 02:26:43 -0400 Received: from mailout2.w1.samsung.com ([210.118.77.12]:59807 "EHLO mailout2.w1.samsung.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753058AbbGJG0d (ORCPT ); Fri, 10 Jul 2015 02:26:33 -0400 X-AuditID: cbfec7f4-f79c56d0000012ee-e4-559f659790a6 From: Krzysztof Kozlowski To: Kishon Vijay Abraham I , Srinivas Kandagatla , Maxime Coquelin , Patrice Chotard , Heiko Stuebner , linux-kernel@vger.kernel.org (open list:GENERIC PHY FRAMEWORK), linux-arm-kernel@lists.infradead.org (moderated list:ARM/STI ARCHITECTURE), kernel@stlinux.com (open list:ARM/STI ARCHITECTURE), linux-rockchip@lists.infradead.org (open list:ARM/Rockchip SoC support) Cc: Krzysztof Kozlowski Subject: [PATCH] phy: Drop owner assignment from platform_driver Date: Fri, 10 Jul 2015 15:26:27 +0900 Message-id: <1436509587-27258-1-git-send-email-k.kozlowski@samsung.com> X-Mailer: git-send-email 1.9.1 X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFprOLMWRmVeSWpSXmKPExsVy+t/xq7rTU+eHGtybx2Lx/9FrVovXLwwt Ptw4xmpx4WkPm8Wmx9dYLS7vmsNm8enBf2aLR6cXs1nMOXGV0aLtW5wDl8fOWXfZPTYvqffo 27KK0WP7tXnMHk9/7GX22P3sF6PH8RvbmTw+b5IL4IjisklJzcksSy3St0vgynh1WLpgpWhF 342rTA2MPwS7GDk5JARMJOadmMEIYYtJXLi3nq2LkYtDSGApo8TjFReYIZz/jBIXW04xg1Sx CRhLbF6+BKxKROAts8SRC1PB2pkFDCV+vvvDDmILCzhIHH/wBqyBRUBVYtrbC0wgNq+Au8Sc 3c/YIdbJSZw8Npl1AiP3AkaGVYyiqaXJBcVJ6bmGesWJucWleel6yfm5mxghwfVlB+PiY1aH GAU4GJV4eAPY5ocKsSaWFVfmHmKU4GBWEuHllwAK8aYkVlalFuXHF5XmpBYfYpTmYFES5527 632IkEB6YklqdmpqQWoRTJaJg1OqgXFhzPaJm153WeV33539jDuv2Xp11Ht9g5h7UsumTnR0 Tf0xY5ej3KfTP1Jjyw+dZZ3e1sC4vKMk9/FCJtb6T0cq8vTaPSR6nCPXzX1ktXHrT6PDTv2H qoKmtLad1dybPWXBrHaFs3Xyv1tffmM6MqsgY8KT9xdbn++s8dh3L04jJkvw+fofs48psRRn JBpqMRcVJwIA3EA/0ioCAAA= Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 2894 Lines: 85 platform_driver does not need to set an owner because platform_driver_register() will set it. Signed-off-by: Krzysztof Kozlowski --- The coccinelle script which generated the patch was sent here: http://www.spinics.net/lists/kernel/msg2029903.html --- drivers/phy/phy-berlin-usb.c | 1 - drivers/phy/phy-miphy28lp.c | 1 - drivers/phy/phy-qcom-ufs-qmp-14nm.c | 1 - drivers/phy/phy-qcom-ufs-qmp-20nm.c | 1 - drivers/phy/phy-rockchip-usb.c | 1 - 5 files changed, 5 deletions(-) diff --git a/drivers/phy/phy-berlin-usb.c b/drivers/phy/phy-berlin-usb.c index c6fc95b53083..d7431f6ab975 100644 --- a/drivers/phy/phy-berlin-usb.c +++ b/drivers/phy/phy-berlin-usb.c @@ -207,7 +207,6 @@ static struct platform_driver phy_berlin_usb_driver = { .probe = phy_berlin_usb_probe, .driver = { .name = "phy-berlin-usb", - .owner = THIS_MODULE, .of_match_table = phy_berlin_sata_of_match, }, }; diff --git a/drivers/phy/phy-miphy28lp.c b/drivers/phy/phy-miphy28lp.c index 5e257ef7ac05..677c290f4b14 100644 --- a/drivers/phy/phy-miphy28lp.c +++ b/drivers/phy/phy-miphy28lp.c @@ -1268,7 +1268,6 @@ static struct platform_driver miphy28lp_driver = { .probe = miphy28lp_probe, .driver = { .name = "miphy28lp-phy", - .owner = THIS_MODULE, .of_match_table = miphy28lp_of_match, } }; diff --git a/drivers/phy/phy-qcom-ufs-qmp-14nm.c b/drivers/phy/phy-qcom-ufs-qmp-14nm.c index f5fc50a9fce7..e1eea1b379fc 100644 --- a/drivers/phy/phy-qcom-ufs-qmp-14nm.c +++ b/drivers/phy/phy-qcom-ufs-qmp-14nm.c @@ -191,7 +191,6 @@ static struct platform_driver ufs_qcom_phy_qmp_14nm_driver = { .driver = { .of_match_table = ufs_qcom_phy_qmp_14nm_of_match, .name = "ufs_qcom_phy_qmp_14nm", - .owner = THIS_MODULE, }, }; diff --git a/drivers/phy/phy-qcom-ufs-qmp-20nm.c b/drivers/phy/phy-qcom-ufs-qmp-20nm.c index 8332f96b2c4a..fde8c876823b 100644 --- a/drivers/phy/phy-qcom-ufs-qmp-20nm.c +++ b/drivers/phy/phy-qcom-ufs-qmp-20nm.c @@ -247,7 +247,6 @@ static struct platform_driver ufs_qcom_phy_qmp_20nm_driver = { .driver = { .of_match_table = ufs_qcom_phy_qmp_20nm_of_match, .name = "ufs_qcom_phy_qmp_20nm", - .owner = THIS_MODULE, }, }; diff --git a/drivers/phy/phy-rockchip-usb.c b/drivers/phy/phy-rockchip-usb.c index 7d4c33643768..bf78721b58f4 100644 --- a/drivers/phy/phy-rockchip-usb.c +++ b/drivers/phy/phy-rockchip-usb.c @@ -146,7 +146,6 @@ static struct platform_driver rockchip_usb_driver = { .probe = rockchip_usb_phy_probe, .driver = { .name = "rockchip-usb-phy", - .owner = THIS_MODULE, .of_match_table = rockchip_usb_phy_dt_ids, }, }; -- 1.9.1 -- 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/