From: Gujulan Elango, Hari Prasath (H.) Date: Thu, 23 Apr 2015 13:03:07 +0000 (+0000) Subject: staging: fsl-mc: Remove redundant initalization of the .owner field X-Git-Url: http://drtracing.org/?a=commitdiff_plain;h=2b9a9d49b30d403191ac00d04678720a4f600ecd;p=deliverable%2Flinux.git staging: fsl-mc: Remove redundant initalization of the .owner field This patch removes the redundant static initialization of the .owner field from this driver as it is being overidden by the call from the platform driver register Signed-off-by: Hari Prasath Signed-off-by: Greg Kroah-Hartman --- diff --git a/drivers/staging/fsl-mc/bus/mc-bus.c b/drivers/staging/fsl-mc/bus/mc-bus.c index 23512d096427..766a65959b01 100644 --- a/drivers/staging/fsl-mc/bus/mc-bus.c +++ b/drivers/staging/fsl-mc/bus/mc-bus.c @@ -713,7 +713,6 @@ MODULE_DEVICE_TABLE(of, fsl_mc_bus_match_table); static struct platform_driver fsl_mc_bus_driver = { .driver = { .name = "fsl_mc_bus", - .owner = THIS_MODULE, .pm = NULL, .of_match_table = fsl_mc_bus_match_table, },