]> git.karo-electronics.de Git - linux-beck.git/commitdiff
crypto: caam: drop owner assignment from platform_drivers
authorWolfram Sang <wsa@the-dreams.de>
Mon, 20 Oct 2014 14:20:25 +0000 (16:20 +0200)
committerWolfram Sang <wsa@the-dreams.de>
Mon, 20 Oct 2014 14:20:25 +0000 (16:20 +0200)
A platform_driver does not need to set an owner, it will be populated by the
driver core.

Signed-off-by: Wolfram Sang <wsa@the-dreams.de>
drivers/crypto/caam/ctrl.c
drivers/crypto/caam/jr.c

index 31000c8c4a9027808ac51df9ed29f2624498ddec..70f1e6f3733623a65ec236deea1b4d1f07a5040d 100644 (file)
@@ -720,7 +720,6 @@ MODULE_DEVICE_TABLE(of, caam_match);
 static struct platform_driver caam_driver = {
        .driver = {
                .name = "caam",
-               .owner = THIS_MODULE,
                .of_match_table = caam_match,
        },
        .probe       = caam_probe,
index 4d18e27ffa9e72da4a7763e87d783dec89ba4b66..bae20d86e0ad7f8b0338474f24d986cb1dd79c5e 100644 (file)
@@ -514,7 +514,6 @@ MODULE_DEVICE_TABLE(of, caam_jr_match);
 static struct platform_driver caam_jr_driver = {
        .driver = {
                .name = "caam_jr",
-               .owner = THIS_MODULE,
                .of_match_table = caam_jr_match,
        },
        .probe       = caam_jr_probe,