From 2137f5d3b8e8e04cff06194cacd0f6357495ac94 Mon Sep 17 00:00:00 2001 From: Peter Griffin Date: Tue, 12 Aug 2014 17:14:25 +0100 Subject: mmc: remove .owner field for drivers using module_platform_driver This patch removes the superflous .owner field for drivers which use the module_platform_driver API, as this is overriden in platform_driver_register anyway. Signed-off-by: Peter Griffin Signed-off-by: Ulf Hansson --- drivers/mmc/host/s3cmci.c | 1 - 1 file changed, 1 deletion(-) (limited to 'drivers/mmc/host/s3cmci.c') diff --git a/drivers/mmc/host/s3cmci.c b/drivers/mmc/host/s3cmci.c index e5516a226362..e4e1a5388163 100644 --- a/drivers/mmc/host/s3cmci.c +++ b/drivers/mmc/host/s3cmci.c @@ -1874,7 +1874,6 @@ MODULE_DEVICE_TABLE(platform, s3cmci_driver_ids); static struct platform_driver s3cmci_driver = { .driver = { .name = "s3c-sdi", - .owner = THIS_MODULE, }, .id_table = s3cmci_driver_ids, .probe = s3cmci_probe, -- cgit v1.2.3