From patchwork Fri Jul 10 06:19:46 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Krzysztof Kozlowski X-Patchwork-Id: 6762191 Return-Path: X-Original-To: patchwork-linux-arm@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 AC6F1C05AC for ; Fri, 10 Jul 2015 06:23:00 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id CDCBC20497 for ; Fri, 10 Jul 2015 06:22:59 +0000 (UTC) Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.9]) (using TLSv1.2 with cipher AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 501DF20574 for ; Fri, 10 Jul 2015 06:22:58 +0000 (UTC) Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.80.1 #2 (Red Hat Linux)) id 1ZDRfz-0005zF-Ic; Fri, 10 Jul 2015 06:20:47 +0000 Received: from mailout3.w1.samsung.com ([210.118.77.13]) by bombadil.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1ZDRfh-0005ld-0a for linux-arm-kernel@lists.infradead.org; Fri, 10 Jul 2015 06:20:29 +0000 Received: from eucpsbgm1.samsung.com (unknown [203.254.199.244]) by mailout3.w1.samsung.com (Oracle Communications Messaging Server 7.0.5.31.0 64bit (built May 5 2014)) with ESMTP id <0NR9009WHDLJUD30@mailout3.w1.samsung.com> for linux-arm-kernel@lists.infradead.org; Fri, 10 Jul 2015 07:20:07 +0100 (BST) X-AuditID: cbfec7f4-f79c56d0000012ee-39-559f641740e1 Received: from eusync1.samsung.com ( [203.254.199.211]) by eucpsbgm1.samsung.com (EUCPMTA) with SMTP id EB.4F.04846.7146F955; Fri, 10 Jul 2015 07:20:07 +0100 (BST) Received: from localhost.localdomain ([10.252.80.64]) by eusync1.samsung.com (Oracle Communications Messaging Server 7.0.5.31.0 64bit (built May 5 2014)) with ESMTPA id <0NR90072TDKW1G50@eusync1.samsung.com>; Fri, 10 Jul 2015 07:20:07 +0100 (BST) From: Krzysztof Kozlowski To: Antti Palosaari , Mauro Carvalho Chehab , Olli Salonen , Lars-Peter Clausen , Hans Verkuil , Jonathan Corbet , linux-media@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org Subject: [PATCH 5/7] [media] radio: Drop owner assignment from i2c_driver Date: Fri, 10 Jul 2015 15:19:46 +0900 Message-id: <1436509188-23320-6-git-send-email-k.kozlowski@samsung.com> X-Mailer: git-send-email 1.9.1 In-reply-to: <1436509188-23320-1-git-send-email-k.kozlowski@samsung.com> References: <1436509188-23320-1-git-send-email-k.kozlowski@samsung.com> X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFlrHLMWRmVeSWpSXmKPExsVy+t/xy7riKfNDDaafELN4cqCd0eJ783s2 iyU/dzFZvH5haLFk8nxWi02Pr7FaXN41h82iZ8NWVovVzyosps++x+TA5THl90ZWj8NfF7J4 bF5S77G4bzKrx5I3h1g9tvTfZffo27KK0ePzJrkAjigum5TUnMyy1CJ9uwSujLYPr5gLjvBW TLg1gamBcS13FyMnh4SAicTu/xdYIGwxiQv31rN1MXJxCAksZZRYPeMdE4Tzn1FizcINTCBV bALGEpuXL2EDsUUELjJJvO4IBLGZBQwlfr77ww5iCwt4SuxZ/RKsnkVAVaL9XD9jFyMHB6+A u8SnRm2IZXISJ49NZgWxOQU8JA5NPwHWKgRU0rz+CtMERt4FjAyrGEVTS5MLipPScw31ihNz i0vz0vWS83M3MUJC8csOxsXHrA4xCnAwKvHwBrDNDxViTSwrrsw9xCjBwawkwssvARTiTUms rEotyo8vKs1JLT7EKM3BoiTOO3fX+xAhgfTEktTs1NSC1CKYLBMHp1QDI08mS2qnapeWoBO3 /Pz/Whbafy09LIvEd9pMrH26/4R9kNWilJ6Iv5yThDf5dNSvOPE/udfYxJv9fM72vTNtXjs1 H7xedbJl1vzEliCulhnfPZRdX2zuMPFXOyjdeHhm1ISNu26q6/8OT1BplDX8mXCy8JX77Bu/ uB5nlyke19sypbBEccsuJZbijERDLeai4kQAyS+1T0ECAAA= X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20150709_232029_199156_6CE05A63 X-CRM114-Status: GOOD ( 14.84 ) X-Spam-Score: -7.2 (-------) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Krzysztof Kozlowski MIME-Version: 1.0 Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Spam-Status: No, score=-4.8 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_MED, 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 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 --- drivers/media/radio/radio-tea5764.c | 1 - drivers/media/radio/saa7706h.c | 1 - drivers/media/radio/tef6862.c | 1 - 3 files changed, 3 deletions(-) diff --git a/drivers/media/radio/radio-tea5764.c b/drivers/media/radio/radio-tea5764.c index cc3990111411..a1930b300c06 100644 --- a/drivers/media/radio/radio-tea5764.c +++ b/drivers/media/radio/radio-tea5764.c @@ -526,7 +526,6 @@ MODULE_DEVICE_TABLE(i2c, tea5764_id); static struct i2c_driver tea5764_i2c_driver = { .driver = { .name = "radio-tea5764", - .owner = THIS_MODULE, }, .probe = tea5764_i2c_probe, .remove = tea5764_i2c_remove, diff --git a/drivers/media/radio/saa7706h.c b/drivers/media/radio/saa7706h.c index ec805b09c608..53a5de1af9b4 100644 --- a/drivers/media/radio/saa7706h.c +++ b/drivers/media/radio/saa7706h.c @@ -429,7 +429,6 @@ MODULE_DEVICE_TABLE(i2c, saa7706h_id); static struct i2c_driver saa7706h_driver = { .driver = { - .owner = THIS_MODULE, .name = DRIVER_NAME, }, .probe = saa7706h_probe, diff --git a/drivers/media/radio/tef6862.c b/drivers/media/radio/tef6862.c index a9319a24c7ef..9f879f0ec0ef 100644 --- a/drivers/media/radio/tef6862.c +++ b/drivers/media/radio/tef6862.c @@ -195,7 +195,6 @@ MODULE_DEVICE_TABLE(i2c, tef6862_id); static struct i2c_driver tef6862_driver = { .driver = { - .owner = THIS_MODULE, .name = DRIVER_NAME, }, .probe = tef6862_probe,