From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-ie0-f174.google.com ([209.85.223.174]:54397 "EHLO mail-ie0-f174.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753831AbaLIWtg (ORCPT ); Tue, 9 Dec 2014 17:49:36 -0500 Received: by mail-ie0-f174.google.com with SMTP id rl12so1543090iec.33 for ; Tue, 09 Dec 2014 14:49:35 -0800 (PST) Date: Tue, 9 Dec 2014 15:49:22 -0700 From: Bjorn Helgaas To: Julia Lawall Cc: Minghuan Lian , linux-pci@vger.kernel.org, kbuild@01.org, fengguang.wu@intel.com Subject: Re: [PATCH] PCI: layerscape: fix platform_no_drv_owner.cocci warnings Message-ID: <20141209224922.GD6692@google.com> References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii In-Reply-To: Sender: linux-pci-owner@vger.kernel.org List-ID: On Tue, Nov 18, 2014 at 05:18:20PM +0100, Julia Lawall wrote: > No need to set .owner here. The core will do it. > > Generated by: scripts/coccinelle/api/platform_no_drv_owner.cocci > > Signed-off-by: Julia Lawall Applied to next-pci/host-layerscape for v3.19, thanks. This branch will be rebased to v3.19-rc1 when it comes out. > --- > > pci-layerscape.c | 1 - > 1 file changed, 1 deletion(-) > > --- a/drivers/pci/host/pci-layerscape.c > +++ b/drivers/pci/host/pci-layerscape.c > @@ -167,7 +167,6 @@ MODULE_DEVICE_TABLE(of, ls_pcie_of_match > static struct platform_driver ls_pcie_driver = { > .driver = { > .name = "layerscape-pcie", > - .owner = THIS_MODULE, > .of_match_table = ls_pcie_of_match, > }, > };