From patchwork Mon Aug 15 14:45:10 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: SF Markus Elfring X-Patchwork-Id: 9281579 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 D5C54600CB for ; Mon, 15 Aug 2016 16:43:12 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id C6E8428CD7 for ; Mon, 15 Aug 2016 16:43:12 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id BB35A28DF0; Mon, 15 Aug 2016 16:43:12 +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=-1.9 required=2.0 tests=BAYES_00, RCVD_IN_DNSWL_NONE autolearn=ham version=3.3.1 Received: from alsa0.perex.cz (alsa0.perex.cz [77.48.224.243]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 0DA8128CD7 for ; Mon, 15 Aug 2016 16:43:12 +0000 (UTC) Received: by alsa0.perex.cz (Postfix, from userid 1000) id 22CDB267025; Mon, 15 Aug 2016 18:43:11 +0200 (CEST) Received: from alsa0.perex.cz (localhost [127.0.0.1]) by alsa0.perex.cz (Postfix) with ESMTP id C8AED2666A9; Mon, 15 Aug 2016 18:31:49 +0200 (CEST) X-Original-To: alsa-devel@alsa-project.org Delivered-To: alsa-devel@alsa-project.org Received: by alsa0.perex.cz (Postfix, from userid 1000) id 3AA2A2666A9; Mon, 15 Aug 2016 18:31:49 +0200 (CEST) Received: from mout.web.de (mout.web.de [217.72.192.78]) by alsa0.perex.cz (Postfix) with ESMTP id AA74F266725 for ; Mon, 15 Aug 2016 16:45:19 +0200 (CEST) Received: from [192.168.1.3] ([77.181.162.63]) by smtp.web.de (mrweb103) with ESMTPSA (Nemesis) id 0MEmgA-1bOszo0Ric-00G13J; Mon, 15 Aug 2016 16:45:14 +0200 From: SF Markus Elfring To: alsa-devel@alsa-project.org, anish kumar , Jaroslav Kysela , Liam Girdwood , Mark Brown , Takashi Iwai Message-ID: <06d64f84-51b7-ee43-7c8b-ba714675f5b6@users.sourceforge.net> Date: Mon, 15 Aug 2016 16:45:10 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.2 MIME-Version: 1.0 X-Provags-ID: V03:K0:Z9sx44D93dxvL2zzXJCU69vcVeaPNg/rS5P7TNXKpndFG1ac1nN ko54BhHVHZuhqKpxdpBrOHckekYAO1MqjvcnnMr3cJylgB8SxRf3WBJRNzYIRX+Adijy4+7 UB/Ois2rPW8droMkMuhbuTDbb01z+KQ1DNcZokZV+V/GTlIT9UK3PT8NinjZcxsBWhQxQNa CfMLA4t4Rt/9bxl18KyNQ== X-UI-Out-Filterresults: notjunk:1; V01:K0:YUSFA6T61rc=:o7lMFXo6TgSvKP2hQGv1bg WpzQOxGx/k/zECZ5dxLT3TsewDYGF8ZCnNfFp8Fb481cnmcta1AprCZk+yMBpY6yhnrhGYs8b liAIao/mmmSZbdRXAh8+ACrKVgbWM7Ak9KESz0y6+KaZ+PW4JNi0YLCBcFjcnJmT55fZ2dwFi 2cvlgnDRgGxiKujbK9J7Hz6Fk2i438h+6n9S1LcH+bSCzz+5klMcIr41VtlgVYKUaSaRnq7Sy Zx0OZlm+X4+JCnGuw28sswwPEN4UqdtMhpF9pOU5fKzm7FMClwcNtmh7Vl3bFajuTFxPUwpYu yjIGyNv7IBWxOyNuTbfdrBYin10jOsah6wJMy+iTr4zHAR16l926VhNMJAscsTiyu2xWDYqHV aCZRCs3AvS2P3zIp76iAsVf3PIaWRdUiympwDeEHp3DLyKO/wz4d6nXywUDFbPCdenAojp3c/ 3Qx437nzonOqPkglmBkP9ScqQv+GHAbqz9Aahux8xtAGfRMLGomuvp+R5Jgcjty2MrFjaByf3 CEyK4Fxol/aWVGNIBmiAqYxqQQTTCPDfLIc1yHXZLuxJx5uTsh0dr6zOHI//5BMOwuE47kjpt LJYdfIGRkGEafMXEd9/TnYCeQs4Xsvt3qvaJdTKAch2Uqv8jxIawAMuiquopQou3yIXKGENXi wAU+qs6RU/EI064YVfrLLltve9Kd49+33pCKWM000fBYl7ZtjrYTrrrZh0rX9xQX6l9T9o/D9 /gn0p8hQPrN/dQ2K1f3gTpNBDgimXCaNODCHPlNX1Cq6oc/V9M4SBIg3KwfOyXY9lxvCzqvFL bso+vIT Cc: Julia Lawall , Axel Lin , kernel-janitors@vger.kernel.org, LKML Subject: [alsa-devel] [PATCH] ASoC: max98371: Delete unnecessary assignment for the field "owner" X-BeenThere: alsa-devel@alsa-project.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "Alsa-devel mailing list for ALSA developers - http://www.alsa-project.org" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: alsa-devel-bounces@alsa-project.org Sender: alsa-devel-bounces@alsa-project.org X-Virus-Scanned: ClamAV using ClamSMTP From: Markus Elfring Date: Mon, 15 Aug 2016 16:16:00 +0200 The field "owner" is set by the core. Thus delete an unneeded initialisation. Generated by: scripts/coccinelle/api/platform_no_drv_owner.cocci Signed-off-by: Markus Elfring --- sound/soc/codecs/max98371.c | 1 - 1 file changed, 1 deletion(-) diff --git a/sound/soc/codecs/max98371.c b/sound/soc/codecs/max98371.c index cf0a39b..3053879 100644 --- a/sound/soc/codecs/max98371.c +++ b/sound/soc/codecs/max98371.c @@ -425,7 +425,6 @@ MODULE_DEVICE_TABLE(of, max98371_of_match); static struct i2c_driver max98371_i2c_driver = { .driver = { .name = "max98371", - .owner = THIS_MODULE, .pm = NULL, .of_match_table = of_match_ptr(max98371_of_match), },