From patchwork Fri Jul 10 06:39:02 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Krzysztof Kozlowski X-Patchwork-Id: 6762921 Return-Path: X-Original-To: patchwork-alsa-devel@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork2.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.136]) by patchwork2.web.kernel.org (Postfix) with ESMTP id B1291C05AC for ; Fri, 10 Jul 2015 06:39:59 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id D867D207F7 for ; Fri, 10 Jul 2015 06:39:58 +0000 (UTC) Received: from alsa0.perex.cz (alsa0.perex.cz [77.48.224.243]) by mail.kernel.org (Postfix) with ESMTP id 947EF207E7 for ; Fri, 10 Jul 2015 06:39:57 +0000 (UTC) Received: by alsa0.perex.cz (Postfix, from userid 1000) id 812A6266568; Fri, 10 Jul 2015 08:39:56 +0200 (CEST) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,NO_DNS_FOR_FROM, UNPARSEABLE_RELAY autolearn=no version=3.3.1 Received: from alsa0.perex.cz (localhost [IPv6:::1]) by alsa0.perex.cz (Postfix) with ESMTP id 1277426658F; Fri, 10 Jul 2015 08:39:39 +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 4A14026658F; Fri, 10 Jul 2015 08:39:38 +0200 (CEST) Received: from mailout2.w1.samsung.com (mailout2.w1.samsung.com [210.118.77.12]) by alsa0.perex.cz (Postfix) with ESMTP id 7ED792604EB for ; Fri, 10 Jul 2015 08:39:09 +0200 (CEST) Received: from eucpsbgm1.samsung.com (unknown [203.254.199.244]) by mailout2.w1.samsung.com (Oracle Communications Messaging Server 7.0.5.31.0 64bit (built May 5 2014)) with ESMTP id <0NR900561EH74W40@mailout2.w1.samsung.com> for alsa-devel@alsa-project.org; Fri, 10 Jul 2015 07:39:07 +0100 (BST) X-AuditID: cbfec7f4-f79c56d0000012ee-01-559f688a6bbc Received: from eusync2.samsung.com ( [203.254.199.212]) by eucpsbgm1.samsung.com (EUCPMTA) with SMTP id 5D.11.04846.A886F955; Fri, 10 Jul 2015 07:39:06 +0100 (BST) Received: from localhost.localdomain ([10.252.80.64]) by eusync2.samsung.com (Oracle Communications Messaging Server 7.0.5.31.0 64bit (built May 5 2014)) with ESMTPA id <0NR900ELBEH0N620@eusync2.samsung.com>; Fri, 10 Jul 2015 07:39:06 +0100 (BST) From: Krzysztof Kozlowski To: Johannes Berg , Jaroslav Kysela , Takashi Iwai , Krzysztof Kozlowski , linuxppc-dev@lists.ozlabs.org (open list:AOA (Apple Onboard Audio) ALSA DRIVER), alsa-devel@alsa-project.org (moderated list:AOA (Apple Onboard Audio) ALSA DRIVER), linux-kernel@vger.kernel.org (open list) Date: Fri, 10 Jul 2015 15:39:02 +0900 Message-id: <1436510344-5889-1-git-send-email-k.kozlowski@samsung.com> X-Mailer: git-send-email 1.9.1 X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFvrBJMWRmVeSWpSXmKPExsVy+t/xK7pdGfNDDa4c0LW4cvEQk8XHDZ9Y LF6/MLS4vGsOm8Xv7/9YLTp39bNavNz8hsmB3WPD5yY2j/MzFjJ67Hu7jM2jb8sqRo/+3m0s HptPV3t83iQXwB7FZZOSmpNZllqkb5fAlbFtVxtrwRrOimMfv7E0MD5h72Lk5JAQMJHY9Wkf M4QtJnHh3nq2LkYuDiGBpYwSXYdmMkE4/xklujd/AetgEzCW2Lx8CViViMB3Jok/m24DVXFw CAs4Snw6lABSwyKgKrH/91w2EJtXwE1i++XlbBAb5CROHpvMOoGRawEjwypG0dTS5ILipPRc Q73ixNzi0rx0veT83E2MkPD4soNx8TGrQ4wCHIxKPLwBbPNDhVgTy4orcw8xSnAwK4nw8ksA hXhTEiurUovy44tKc1KLDzFKc7AoifPO3fU+REggPbEkNTs1tSC1CCbLxMEp1cAoYNideXi3 86Jw31DmVb8eXjz/ahHDdq19Zp47vOTdV/Y8kGDKjgv07X+/YZ6kTgBHwek/+R7xbgsm/n5W xpDSN1dIX1I7a+sGdXluyz1f4zVvzTrOdEroR6L5rJXhjq0v3uiJsCy4buwVVuek+tNAQmFh a4HyZuG070oB8c/m6j9POrzCREyJpTgj0VCLuag4EQAkh9fMCwIAAA== Subject: [alsa-devel] [PATCH] ALSA: aoa: Drop owner assignment from i2c_driver 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: , MIME-Version: 1.0 Errors-To: alsa-devel-bounces@alsa-project.org Sender: alsa-devel-bounces@alsa-project.org X-Virus-Scanned: ClamAV using ClamSMTP i2c_driver does not need to set an owner because i2c_register_driver() will set it. Signed-off-by: Krzysztof Kozlowski --- The coccinelle script which generated the patch was sent here: http://www.spinics.net/lists/kernel/msg2029903.html --- sound/aoa/codecs/onyx.c | 1 - sound/aoa/codecs/tas.c | 1 - 2 files changed, 2 deletions(-) diff --git a/sound/aoa/codecs/onyx.c b/sound/aoa/codecs/onyx.c index 23c371ecfb6b..a04edff8b729 100644 --- a/sound/aoa/codecs/onyx.c +++ b/sound/aoa/codecs/onyx.c @@ -1050,7 +1050,6 @@ MODULE_DEVICE_TABLE(i2c,onyx_i2c_id); static struct i2c_driver onyx_driver = { .driver = { .name = "aoa_codec_onyx", - .owner = THIS_MODULE, }, .probe = onyx_i2c_probe, .remove = onyx_i2c_remove, diff --git a/sound/aoa/codecs/tas.c b/sound/aoa/codecs/tas.c index 364c7c4416e8..78ed1ffbf786 100644 --- a/sound/aoa/codecs/tas.c +++ b/sound/aoa/codecs/tas.c @@ -939,7 +939,6 @@ MODULE_DEVICE_TABLE(i2c,tas_i2c_id); static struct i2c_driver tas_driver = { .driver = { .name = "aoa_codec_tas", - .owner = THIS_MODULE, }, .probe = tas_i2c_probe, .remove = tas_i2c_remove,