[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20150710083034.0429f147@bbrezillon>
Date: Fri, 10 Jul 2015 08:30:34 +0200
From: Boris Brezillon <boris.brezillon@...e-electrons.com>
To: Krzysztof Kozlowski <k.kozlowski@...sung.com>
Cc: Herbert Xu <herbert@...dor.apana.org.au>,
"David S. Miller" <davem@...emloft.net>,
Arnaud Ebalard <arno@...isbad.org>,
Vladimir Zapolskiy <vladimir_zapolskiy@...tor.com>,
linux-crypto@...r.kernel.org, linux-kernel@...r.kernel.org
Subject: Re: [PATCH] crypto: Drop owner assignment from platform_driver
On Fri, 10 Jul 2015 14:46:16 +0900
Krzysztof Kozlowski <k.kozlowski@...sung.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@...sung.com>
Acked-by: Boris Brezillon <boris.brezillon@...e-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
--
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