From patchwork Tue Feb 7 14:30:03 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Wei Yongjun X-Patchwork-Id: 9560269 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id F23D460434 for ; Tue, 7 Feb 2017 14:30:11 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id E369525F31 for ; Tue, 7 Feb 2017 14:30:11 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id D7EF427CEA; Tue, 7 Feb 2017 14:30:11 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-6.3 required=2.0 tests=BAYES_00, DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED, FREEMAIL_FROM, RCVD_IN_DNSWL_HI, RCVD_IN_SORBS_SPAM, T_DKIM_INVALID autolearn=ham version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 6796A25F31 for ; Tue, 7 Feb 2017 14:30:11 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753378AbdBGOaL (ORCPT ); Tue, 7 Feb 2017 09:30:11 -0500 Received: from mail-pg0-f66.google.com ([74.125.83.66]:36052 "EHLO mail-pg0-f66.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753285AbdBGOaK (ORCPT ); Tue, 7 Feb 2017 09:30:10 -0500 Received: by mail-pg0-f66.google.com with SMTP id 75so12287216pgf.3 for ; Tue, 07 Feb 2017 06:30:09 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=oGq1SiOERSm+FxUsp97L8/y8xG2u102AmOBjEEuDg/0=; b=kfvHRbqaMTO4xtz4J4O16s4OtJSSQVsaKkvXwWecH2AEgcY64Jl6y2ntUa5nIqTWNr nPXN6d6PODdi9DVNhkhXvzmPk3Sx+hEKccEXvH97VkzDRwYzpW2Qz0r9ig0xMBZGSerh RbXXQe7N9KSDQB27PF+lOeDWasAREr1fWnEJq78AxAP4LsAk+gc22rfSSN+jW2ksKx6w jJJ3tF2L319RrpyFk/Onwhm6hA1OpzNq0417s/+eMWkKet5HYGrx3vd6To3dhgKd2S9w fV6TKEWpnB97JnJVdYLJz71lA/g3jql3jXcF9anBBf96PGRglq06F8mGw6zFN5BVQD4Z ZC9Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=oGq1SiOERSm+FxUsp97L8/y8xG2u102AmOBjEEuDg/0=; b=V+YQNMJV9tBFeHDTlfQFZesd/bCeLlgDBu/LhRBw5/7sA3AjnWUJxDK++dF3Gifx18 5vnlUIwEnWeHyLXUlw6t+Q5VuYXaI0c/FvudS2kY3nvjpmGJ9PCXDqkV3JSS3v3zXWPt qcWL3JVfN72YNkl7asA2zDWlNNtJRVCX57P27S2vE8hhzHlCBgvzRdk0K1JjjHN1hP/s TmNscwJA6iqvmeaJ3indTIHYJbBo6RJ83Mgk2/SCHDoZ4IUEZZns6UWCo+K9bLAcqEqJ N5jeOlqnMP2X2ENCwMPGZxFIYu0+NpHDtmPJnv/1+bAyP4p+FnKwkwQ6Yi7QxT5YSZff m2OA== X-Gm-Message-State: AIkVDXLogZ8O/Q51D7si1sLNmGgu3ovqppliZM5HaJcxwJPo/oZRVR/3tD/OHQ/0LMIXAw== X-Received: by 10.84.194.129 with SMTP id h1mr26273935pld.70.1486477809465; Tue, 07 Feb 2017 06:30:09 -0800 (PST) Received: from 192.168.0.37 (ec2-52-192-197-227.ap-northeast-1.compute.amazonaws.com. [52.192.197.227]) by smtp.gmail.com with ESMTPSA id s64sm12093503pfe.27.2017.02.07.06.30.07 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 07 Feb 2017 06:30:08 -0800 (PST) From: Wei Yongjun To: Mark Brown Cc: Wei Yongjun , linux-spi@vger.kernel.org Subject: [PATCH -next] spi: armada-3700: Remove .owner field for driver Date: Tue, 7 Feb 2017 14:30:03 +0000 Message-Id: <20170207143003.17877-1-weiyj.lk@gmail.com> X-Mailer: git-send-email 2.9.3 MIME-Version: 1.0 Sender: linux-spi-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-spi@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP From: Wei Yongjun Remove .owner field if calls are used which set it automatically. Generated by: scripts/coccinelle/api/platform_no_drv_owner.cocci Signed-off-by: Wei Yongjun --- drivers/spi/spi-armada-3700.c | 1 - 1 file changed, 1 deletion(-) -- To unsubscribe from this list: send the line "unsubscribe linux-spi" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html diff --git a/drivers/spi/spi-armada-3700.c b/drivers/spi/spi-armada-3700.c index e598421..d45eeb2 100644 --- a/drivers/spi/spi-armada-3700.c +++ b/drivers/spi/spi-armada-3700.c @@ -909,7 +909,6 @@ static int a3700_spi_remove(struct platform_device *pdev) static struct platform_driver a3700_spi_driver = { .driver = { .name = DRIVER_NAME, - .owner = THIS_MODULE, .of_match_table = of_match_ptr(a3700_spi_dt_ids), }, .probe = a3700_spi_probe,