2
0
mirror of https://github.com/edk2-porting/linux-next.git synced 2024-12-26 06:04:14 +08:00

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 <hgujulan@visteon.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
Gujulan Elango, Hari Prasath (H.) 2015-04-23 13:03:07 +00:00 committed by Greg Kroah-Hartman
parent 6c20d83b3d
commit 2b9a9d49b3

View File

@ -713,7 +713,6 @@ MODULE_DEVICE_TABLE(of, fsl_mc_bus_match_table);
static struct platform_driver fsl_mc_bus_driver = { static struct platform_driver fsl_mc_bus_driver = {
.driver = { .driver = {
.name = "fsl_mc_bus", .name = "fsl_mc_bus",
.owner = THIS_MODULE,
.pm = NULL, .pm = NULL,
.of_match_table = fsl_mc_bus_match_table, .of_match_table = fsl_mc_bus_match_table,
}, },