From patchwork Fri Jul 10 06:19:45 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Krzysztof Kozlowski X-Patchwork-Id: 6762181 Return-Path: X-Original-To: patchwork-linux-arm@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork1.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.136]) by patchwork1.web.kernel.org (Postfix) with ESMTP id D4C2C9F536 for ; Fri, 10 Jul 2015 06:22:59 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id E07D320793 for ; Fri, 10 Jul 2015 06:22:58 +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 EB8FD20524 for ; Fri, 10 Jul 2015 06:22:57 +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 1ZDRfr-0005qQ-PS; Fri, 10 Jul 2015 06:20:39 +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 1ZDRfg-0005ld-74 for linux-arm-kernel@lists.infradead.org; Fri, 10 Jul 2015 06:20:28 +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 <0NR900DS1DLGED30@mailout3.w1.samsung.com> for linux-arm-kernel@lists.infradead.org; Fri, 10 Jul 2015 07:20:04 +0100 (BST) X-AuditID: cbfec7f4-f79c56d0000012ee-32-559f6414385b Received: from eusync1.samsung.com ( [203.254.199.211]) by eucpsbgm1.samsung.com (EUCPMTA) with SMTP id 2A.4F.04846.4146F955; Fri, 10 Jul 2015 07:20:04 +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:04 +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 4/7] [media] platform: Drop owner assignment from i2c_driver Date: Fri, 10 Jul 2015 15:19:45 +0900 Message-id: <1436509188-23320-5-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+NgFlrPLMWRmVeSWpSXmKPExsVy+t/xy7oiKfNDDbpPc1s8OdDOaPG9+T2b xZKfu5gsXr8wtFgyeT6rxabH11gtLu+aw2bRs2Erq8XqZxUW02ffY3Lg8pjyeyOrx+GvC1k8 Ni+p91jcN5nVY8mbQ6weW/rvsnv0bVnF6PF5k1wARxSXTUpqTmZZapG+XQJXxokFx1kKvnBV XOhfw9rAuJyzi5GTQ0LAROJr0w9WCFtM4sK99WxdjFwcQgJLGSXWrtnEAuH8Z5SYcXkhE0gV m4CxxOblS9hAbBGBi0wSrzsCQWxmAUOJn+/+sIPYwgI+EieXrgOzWQRUJX7cuw5m8wq4S9y8 c4oJYpucxMljk8E2cwp4SByafgKsRgiopnn9FaYJjLwLGBlWMYqmliYXFCel5xrqFSfmFpfm pesl5+duYoQE45cdjIuPWR1iFOBgVOLhDWCbHyrEmlhWXJl7iFGCg1lJhJdfAijEm5JYWZVa lB9fVJqTWnyIUZqDRUmcd+6u9yFCAumJJanZqakFqUUwWSYOTqkGxirjzS8//7W08IrkT366 hN/yu0vrom/V2l8t/7Nb1Rz4Jnhzwf6AwydYvX7uiDUs/JO6j2GhWmP7DSaDe5dFNnxwDZ2z 5dfEOR/lp74NucdT0+9gc6IqSrRg+ekb/iyhGXod9j8vvdfKqLmptU2tT2kG1/Oaw+4bTqd5 ffWY21LB0uDHmyaxQomlOCPRUIu5qDgRAN5aZ0pCAgAA X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20150709_232028_401716_11939523 X-CRM114-Status: GOOD ( 14.70 ) 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/platform/s5p-tv/hdmiphy_drv.c | 1 - drivers/media/platform/s5p-tv/sii9234_drv.c | 1 - 2 files changed, 2 deletions(-) diff --git a/drivers/media/platform/s5p-tv/hdmiphy_drv.c b/drivers/media/platform/s5p-tv/hdmiphy_drv.c index c2f2e35642f2..aae652351aa8 100644 --- a/drivers/media/platform/s5p-tv/hdmiphy_drv.c +++ b/drivers/media/platform/s5p-tv/hdmiphy_drv.c @@ -315,7 +315,6 @@ MODULE_DEVICE_TABLE(i2c, hdmiphy_id); static struct i2c_driver hdmiphy_driver = { .driver = { .name = "s5p-hdmiphy", - .owner = THIS_MODULE, }, .probe = hdmiphy_probe, .remove = hdmiphy_remove, diff --git a/drivers/media/platform/s5p-tv/sii9234_drv.c b/drivers/media/platform/s5p-tv/sii9234_drv.c index db8c17bb4aaa..8d171310af8f 100644 --- a/drivers/media/platform/s5p-tv/sii9234_drv.c +++ b/drivers/media/platform/s5p-tv/sii9234_drv.c @@ -397,7 +397,6 @@ MODULE_DEVICE_TABLE(i2c, sii9234_id); static struct i2c_driver sii9234_driver = { .driver = { .name = "sii9234", - .owner = THIS_MODULE, .pm = &sii9234_pm_ops, }, .probe = sii9234_probe,