Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1757529AbbDWNe7 (ORCPT ); Thu, 23 Apr 2015 09:34:59 -0400 Received: from mail-db3on0110.outbound.protection.outlook.com ([157.55.234.110]:45760 "EHLO emea01-db3-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1752291AbbDWNez convert rfc822-to-8bit (ORCPT ); Thu, 23 Apr 2015 09:34:55 -0400 X-Greylist: delayed 846 seconds by postgrey-1.27 at vger.kernel.org; Thu, 23 Apr 2015 09:34:54 EDT From: "Gujulan Elango, Hari Prasath (H.)" To: "gregkh@linuxfoundation.org" CC: "devel@driverdev.osuosl.org" , "German.Rivera@freescale.com" , "agraf@suse.de" , "stuart.yoder@freescale.com" , "linux-kernel@vger.kernel.org" , "Babu, Viswanathan (V.)" Subject: [PATCH] staging: fsl-mc: Remove redundant initalization of the .owner field Thread-Topic: [PATCH] staging: fsl-mc: Remove redundant initalization of the .owner field Thread-Index: AQHQfcXXIFHBeJNuhkWLZpeaTpT/Xw== Date: Thu, 23 Apr 2015 13:03:07 +0000 Message-ID: <20150423125756.GA3512@IND12F0122> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: authentication-results: linuxfoundation.org; dkim=none (message not signed) header.d=none; x-ms-exchange-messagesentrepresentingtype: 1 x-originating-ip: [74.112.164.116] x-microsoft-antispam: UriScan:;BCL:0;PCL:0;RULEID:;SRVR:AM3PR06MB451; x-forefront-antispam-report: BMV:1;SFV:NSPM;SFS:(10019020)(6009001)(122556002)(40100003)(229853001)(2900100001)(2351001)(2860100001)(66066001)(92566002)(46102003)(77156002)(2501003)(50986999)(102836002)(54356999)(110136001)(33716001)(87936001)(2656002)(86362001)(106116001)(62966003)(19580405001)(19580395003)(33656002)(7059030)(142923001);DIR:OUT;SFP:1102;SCL:1;SRVR:AM3PR06MB451;H:AM3PR06MB1154.eurprd06.prod.outlook.com;FPR:;SPF:None;MLV:sfv;LANG:en; x-microsoft-antispam-prvs: x-exchange-antispam-report-test: UriScan:; x-exchange-antispam-report-cfa-test: BCL:0;PCL:0;RULEID:(601004)(5002010)(5005006);SRVR:AM3PR06MB451;BCL:0;PCL:0;RULEID:;SRVR:AM3PR06MB451; x-forefront-prvs: 0555EC8317 Content-Type: text/plain; charset="us-ascii" Content-ID: Content-Transfer-Encoding: 8BIT MIME-Version: 1.0 X-OriginatorOrg: visteon.com X-MS-Exchange-CrossTenant-originalarrivaltime: 23 Apr 2015 13:03:07.0415 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 7a147aaf-01ec-498c-80a1-e34a8c63c548 X-MS-Exchange-Transport-CrossTenantHeadersStamped: AM3PR06MB451 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1017 Lines: 27 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 --- drivers/staging/fsl-mc/bus/mc-bus.c | 1 - 1 file changed, 1 deletion(-) diff --git a/drivers/staging/fsl-mc/bus/mc-bus.c b/drivers/staging/fsl-mc/bus/mc-bus.c index 23512d0..766a659 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, }, -- 1.9.1 -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/