All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] crypto: Drop owner assignment from platform_driver
@ 2015-07-10  5:46 Krzysztof Kozlowski
  2015-07-10  6:30 ` Boris Brezillon
  2015-07-14  7:01 ` Herbert Xu
  0 siblings, 2 replies; 3+ messages in thread
From: Krzysztof Kozlowski @ 2015-07-10  5:46 UTC (permalink / raw)
  To: Herbert Xu, David S. Miller, Boris BREZILLON, Arnaud Ebalard,
	Vladimir Zapolskiy, linux-crypto, linux-kernel
  Cc: Krzysztof Kozlowski

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>

---

The coccinelle script which generated the patch was sent here:
http://www.spinics.net/lists/kernel/msg2029903.html
---
 drivers/crypto/marvell/cesa.c | 1 -
 1 file changed, 1 deletion(-)

diff --git a/drivers/crypto/marvell/cesa.c b/drivers/crypto/marvell/cesa.c
index 1c6f98dd88f4..0643e3366e33 100644
--- a/drivers/crypto/marvell/cesa.c
+++ b/drivers/crypto/marvell/cesa.c
@@ -533,7 +533,6 @@ static struct platform_driver marvell_cesa = {
 	.probe		= mv_cesa_probe,
 	.remove		= mv_cesa_remove,
 	.driver		= {
-		.owner	= THIS_MODULE,
 		.name	= "marvell-cesa",
 		.of_match_table = mv_cesa_of_match_table,
 	},
-- 
1.9.1

^ permalink raw reply related	[flat|nested] 3+ messages in thread

* Re: [PATCH] crypto: Drop owner assignment from platform_driver
  2015-07-10  5:46 [PATCH] crypto: Drop owner assignment from platform_driver Krzysztof Kozlowski
@ 2015-07-10  6:30 ` Boris Brezillon
  2015-07-14  7:01 ` Herbert Xu
  1 sibling, 0 replies; 3+ messages in thread
From: Boris Brezillon @ 2015-07-10  6:30 UTC (permalink / raw)
  To: Krzysztof Kozlowski
  Cc: Herbert Xu, David S. Miller, Arnaud Ebalard, Vladimir Zapolskiy,
	linux-crypto, linux-kernel

On Fri, 10 Jul 2015 14:46:16 +0900
Krzysztof Kozlowski <k.kozlowski@samsung.com> 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>

Acked-by: Boris Brezillon <boris.brezillon@free-electrons.com>
> 
> ---
> 
> The coccinelle script which generated the patch was sent here:
> http://www.spinics.net/lists/kernel/msg2029903.html
> ---
>  drivers/crypto/marvell/cesa.c | 1 -
>  1 file changed, 1 deletion(-)
> 
> diff --git a/drivers/crypto/marvell/cesa.c b/drivers/crypto/marvell/cesa.c
> index 1c6f98dd88f4..0643e3366e33 100644
> --- a/drivers/crypto/marvell/cesa.c
> +++ b/drivers/crypto/marvell/cesa.c
> @@ -533,7 +533,6 @@ static struct platform_driver marvell_cesa = {
>  	.probe		= mv_cesa_probe,
>  	.remove		= mv_cesa_remove,
>  	.driver		= {
> -		.owner	= THIS_MODULE,
>  		.name	= "marvell-cesa",
>  		.of_match_table = mv_cesa_of_match_table,
>  	},



-- 
Boris Brezillon, Free Electrons
Embedded Linux and Kernel engineering
http://free-electrons.com

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [PATCH] crypto: Drop owner assignment from platform_driver
  2015-07-10  5:46 [PATCH] crypto: Drop owner assignment from platform_driver Krzysztof Kozlowski
  2015-07-10  6:30 ` Boris Brezillon
@ 2015-07-14  7:01 ` Herbert Xu
  1 sibling, 0 replies; 3+ messages in thread
From: Herbert Xu @ 2015-07-14  7:01 UTC (permalink / raw)
  To: Krzysztof Kozlowski
  Cc: David S. Miller, Boris BREZILLON, Arnaud Ebalard,
	Vladimir Zapolskiy, linux-crypto, linux-kernel

On Fri, Jul 10, 2015 at 02:46:16PM +0900, 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>

Applied.
-- 
Email: Herbert Xu <herbert@gondor.apana.org.au>
Home Page: http://gondor.apana.org.au/~herbert/
PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2015-07-14  7:01 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-07-10  5:46 [PATCH] crypto: Drop owner assignment from platform_driver Krzysztof Kozlowski
2015-07-10  6:30 ` Boris Brezillon
2015-07-14  7:01 ` Herbert Xu

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.