lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date:	Mon, 22 Dec 2014 16:18:20 +0530
From:	Kishon Vijay Abraham I <kishon@...com>
To:	Wolfram Sang <wsa@...-dreams.de>, <linux-kernel@...r.kernel.org>
Subject: Re: [PATCH 14/28] phy: drop owner assignment from platform_drivers



On Monday 22 December 2014 02:44 AM, Wolfram Sang wrote:
> This platform_driver does not need to set an owner, it will be populated by the
> driver core.
> 
> Signed-off-by: Wolfram Sang <wsa@...-dreams.de>

Acked-by: Kishon Vijay Abraham I <kishon@...com>

> ---
> Generated with coccinelle. SmPL file is in the introductory msg. The big
> cleanup was pulled in this merge window. This series catches the bits fallen
> through. The patches shall go in via the subsystem trees.
> 
>  drivers/phy/phy-armada375-usb2.c | 1 -
>  drivers/phy/phy-berlin-usb.c     | 1 -
>  drivers/phy/phy-miphy28lp.c      | 1 -
>  3 files changed, 3 deletions(-)
> 
> diff --git a/drivers/phy/phy-armada375-usb2.c b/drivers/phy/phy-armada375-usb2.c
> index ac7d99d01cb3..db83871a9f68 100644
> --- a/drivers/phy/phy-armada375-usb2.c
> +++ b/drivers/phy/phy-armada375-usb2.c
> @@ -148,7 +148,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);
> diff --git a/drivers/phy/phy-berlin-usb.c b/drivers/phy/phy-berlin-usb.c
> index c8a8d53a6ece..bae31d0093da 100644
> --- a/drivers/phy/phy-berlin-usb.c
> +++ b/drivers/phy/phy-berlin-usb.c
> @@ -212,7 +212,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 e34da13885e8..359c6cb342a2 100644
> --- a/drivers/phy/phy-miphy28lp.c
> +++ b/drivers/phy/phy-miphy28lp.c
> @@ -1271,7 +1271,6 @@ static struct platform_driver miphy28lp_driver = {
>  	.probe = miphy28lp_probe,
>  	.driver = {
>  		.name = "miphy28lp-phy",
> -		.owner = THIS_MODULE,
>  		.of_match_table = miphy28lp_of_match,
>  	}
>  };
> 
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ