From: Kishon Vijay Abraham I <kishon-l0cyMroinI0@public.gmane.org>
To: Krzysztof Kozlowski
<k.kozlowski-Sze3O3UU22JBDgjK7y7TUQ@public.gmane.org>,
Srinivas Kandagatla
<srinivas.kandagatla-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>,
Maxime Coquelin <maxime.coquelin-qxv4g6HH51o@public.gmane.org>,
Patrice Chotard <patrice.chotard-qxv4g6HH51o@public.gmane.org>,
Heiko Stuebner <heiko-4mtYJXux2i+zQB+pC5nmwQ@public.gmane.org>,
GENERIC PHY FRAMEWORK
<linux-kernel-u79uwXL29TY76Z2rM5mHXA@public.gmane.org>,
ARM/STI ARCHITECTURE
<linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r@public.gmane.org>,
ARM/STI ARCHITECTURE
<kernel-F5mvAk5X5gdBDgjK7y7TUQ@public.gmane.org>,
ARM/Rockchip SoC support
<linux-rockchip-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r@public.gmane.org>
Subject: Re: [PATCH] phy: Drop owner assignment from platform_driver
Date: Wed, 15 Jul 2015 18:57:47 +0530 [thread overview]
Message-ID: <55A65FD3.70100@ti.com> (raw)
In-Reply-To: <1436509587-27258-1-git-send-email-k.kozlowski-Sze3O3UU22JBDgjK7y7TUQ@public.gmane.org>
On Friday 10 July 2015 11:56 AM, Krzysztof Kozlowski wrote:
> platform_driver does not need to set an owner because
> platform_driver_register() will set it.
>
> Signed-off-by: Krzysztof Kozlowski <k.kozlowski-Sze3O3UU22JBDgjK7y7TUQ@public.gmane.org>
merged.
-Kishon
>
> ---
>
> 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,
> },
> };
>
WARNING: multiple messages have this Message-ID (diff)
From: kishon@ti.com (Kishon Vijay Abraham I)
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCH] phy: Drop owner assignment from platform_driver
Date: Wed, 15 Jul 2015 18:57:47 +0530 [thread overview]
Message-ID: <55A65FD3.70100@ti.com> (raw)
In-Reply-To: <1436509587-27258-1-git-send-email-k.kozlowski@samsung.com>
On Friday 10 July 2015 11:56 AM, Krzysztof Kozlowski wrote:
> platform_driver does not need to set an owner because
> platform_driver_register() 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-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,
> },
> };
>
WARNING: multiple messages have this Message-ID (diff)
From: Kishon Vijay Abraham I <kishon@ti.com>
To: Krzysztof Kozlowski <k.kozlowski@samsung.com>,
Srinivas Kandagatla <srinivas.kandagatla@gmail.com>,
Maxime Coquelin <maxime.coquelin@st.com>,
Patrice Chotard <patrice.chotard@st.com>,
Heiko Stuebner <heiko@sntech.de>,
open list: GENERIC PHY FRAMEWORK <linux-kernel@vger.kernel.org>,
"; moderated list": ARM/STI ARCHITECTURE
<linux-arm-kernel@lists.infradead.org>,
"; open list": ARM/STI ARCHITECTURE <kernel@stlinux.com>,
"; open list": ARM/Rockchip SoC support
<linux-rockchip@lists.infradead.org>, ;
Subject: Re: [PATCH] phy: Drop owner assignment from platform_driver
Date: Wed, 15 Jul 2015 18:57:47 +0530 [thread overview]
Message-ID: <55A65FD3.70100@ti.com> (raw)
In-Reply-To: <1436509587-27258-1-git-send-email-k.kozlowski@samsung.com>
On Friday 10 July 2015 11:56 AM, Krzysztof Kozlowski wrote:
> platform_driver does not need to set an owner because
> platform_driver_register() 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-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,
> },
> };
>
next prev parent reply other threads:[~2015-07-15 13:27 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-07-10 6:26 [PATCH] phy: Drop owner assignment from platform_driver Krzysztof Kozlowski
2015-07-10 6:26 ` Krzysztof Kozlowski
2015-07-10 6:26 ` Krzysztof Kozlowski
[not found] ` <1436509587-27258-1-git-send-email-k.kozlowski-Sze3O3UU22JBDgjK7y7TUQ@public.gmane.org>
2015-07-15 7:37 ` Patrice Chotard
2015-07-15 7:37 ` Patrice Chotard
2015-07-15 7:37 ` Patrice Chotard
2015-07-15 13:27 ` Kishon Vijay Abraham I [this message]
2015-07-15 13:27 ` Kishon Vijay Abraham I
2015-07-15 13:27 ` Kishon Vijay Abraham I
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=55A65FD3.70100@ti.com \
--to=kishon-l0cymroini0@public.gmane.org \
--cc=heiko-4mtYJXux2i+zQB+pC5nmwQ@public.gmane.org \
--cc=k.kozlowski-Sze3O3UU22JBDgjK7y7TUQ@public.gmane.org \
--cc=kernel-F5mvAk5X5gdBDgjK7y7TUQ@public.gmane.org \
--cc=linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r@public.gmane.org \
--cc=linux-kernel-u79uwXL29TY76Z2rM5mHXA@public.gmane.org \
--cc=linux-rockchip-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r@public.gmane.org \
--cc=maxime.coquelin-qxv4g6HH51o@public.gmane.org \
--cc=patrice.chotard-qxv4g6HH51o@public.gmane.org \
--cc=srinivas.kandagatla-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.