]> git.karo-electronics.de Git - linux-beck.git/commitdiff
staging: fsl-mc: Remove redundant initalization of the .owner field
authorGujulan Elango, Hari Prasath (H.) <hgujulan@visteon.com>
Thu, 23 Apr 2015 13:03:07 +0000 (13:03 +0000)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 8 May 2015 07:24:11 +0000 (09:24 +0200)
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 <hgujulan@visteon.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/fsl-mc/bus/mc-bus.c

index 23512d09642728cad7bcb95103e54e850b73152f..766a65959b011db69fcddafaa25b44d0029b2126 100644 (file)
@@ -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,
                   },