From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753711AbcDSNzk (ORCPT ); Tue, 19 Apr 2016 09:55:40 -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" 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 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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 --- bcm2835-mmc.c | 1 - 1 file changed, 1 deletion(-) --- 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, }, };