[PATCH 3/3] coresight-replicator: remove .owner field for driver

From: Pankaj Dubey
Date: Thu Nov 13 2014 - 03:49:56 EST


There is no need of .owner field for driver using
module_platform_driver.

Signed-off-by: Pankaj Dubey <pankaj.dubey@xxxxxxxxxxx>
---
drivers/coresight/coresight-replicator.c | 1 -
1 file changed, 1 deletion(-)

diff --git a/drivers/coresight/coresight-replicator.c b/drivers/coresight/coresight-replicator.c
index c879039..a2dfcf9 100644
--- a/drivers/coresight/coresight-replicator.c
+++ b/drivers/coresight/coresight-replicator.c
@@ -117,7 +117,6 @@ static struct platform_driver replicator_driver = {
.remove = replicator_remove,
.driver = {
.name = "coresight-replicator",
- .owner = THIS_MODULE,
.of_match_table = replicator_match,
},
};
--
1.7.9.5

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/