From patchwork Tue Apr 19 13:55:26 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Julia Lawall X-Patchwork-Id: 8880341 Return-Path: X-Original-To: patchwork-linux-mmc@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork1.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.136]) by patchwork1.web.kernel.org (Postfix) with ESMTP id 5DAEC9F1C1 for ; Tue, 19 Apr 2016 13:55:43 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 77446202AE for ; Tue, 19 Apr 2016 13:55:41 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 98F3D20121 for ; Tue, 19 Apr 2016 13:55:40 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753165AbcDSNzj (ORCPT ); Tue, 19 Apr 2016 09:55:39 -0400 Received: from mail3-relais-sop.national.inria.fr ([192.134.164.104]:1192 "EHLO mail3-relais-sop.national.inria.fr" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753035AbcDSNzi (ORCPT ); Tue, 19 Apr 2016 09:55:38 -0400 X-IronPort-AV: E=Sophos;i="5.24,506,1454972400"; d="scan'208";a="175068044" Received: from vaio-julia.rsr.lip6.fr ([132.227.76.33]) by mail3-relais-sop.national.inria.fr with ESMTP/TLS/DHE-RSA-AES256-SHA; 19 Apr 2016 15:55:35 +0200 Date: Tue, 19 Apr 2016 15:55:26 +0200 (CEST) From: Julia Lawall X-X-Sender: jll@hadrien To: Gerd Hoffmann , Ulf Hansson , Stephen Warren , Lee Jones , Eric Anholt , linux-mmc@vger.kernel.org, linux-rpi-kernel@lists.infradead.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, kbuild-all@01.org Subject: [PATCH] mmc: bcm2835: fix platform_no_drv_owner.cocci warnings Message-ID: User-Agent: Alpine 2.10 (DEB 1266 2009-07-14) MIME-Version: 1.0 Sender: linux-mmc-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-mmc@vger.kernel.org X-Spam-Status: No, score=-7.9 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_HI, RP_MATCHES_RCVD, UNPARSEABLE_RELAY autolearn=unavailable version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP Remove .owner field if calls are used which set it automatically Generated by: scripts/coccinelle/api/platform_no_drv_owner.cocci CC: Eric Anholt Signed-off-by: Fengguang Wu Signed-off-by: Julia Lawall Acked-by: Eric Anholt --- bcm2835-mmc.c | 1 - 1 file changed, 1 deletion(-) -- To unsubscribe from this list: send the line "unsubscribe linux-mmc" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html --- a/drivers/mmc/host/bcm2835-mmc.c +++ b/drivers/mmc/host/bcm2835-mmc.c @@ -1545,7 +1545,6 @@ static struct platform_driver bcm2835_mm .remove = bcm2835_mmc_remove, .driver = { .name = DRIVER_NAME, - .owner = THIS_MODULE, .of_match_table = bcm2835_mmc_match, }, };