]> git.baikalelectronics.ru Git - kernel.git/commitdiff
crypto: marvell/cesa - Drop owner assignment from platform_driver
authorKrzysztof Kozlowski <k.kozlowski@samsung.com>
Fri, 10 Jul 2015 05:46:16 +0000 (14:46 +0900)
committerHerbert Xu <herbert@gondor.apana.org.au>
Tue, 14 Jul 2015 06:56:48 +0000 (14:56 +0800)
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>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
drivers/crypto/marvell/cesa.c

index 1c6f98dd88f4958003d6da53ce43933e9e016d45..0643e3366e3309de88a03e687a2d5353f5715a22 100644 (file)
@@ -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,
        },