From patchwork Sun Aug 14 20:34:01 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: 9279947 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 017AB60839 for ; Sun, 14 Aug 2016 20:34:45 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id E657B289F3 for ; Sun, 14 Aug 2016 20:34:44 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id DA9CC28A1A; Sun, 14 Aug 2016 20:34:44 +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.9 required=2.0 tests=BAYES_00,RCVD_IN_DNSWL_HI autolearn=unavailable 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 6B3F1289F3 for ; Sun, 14 Aug 2016 20:34:44 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932368AbcHNUe3 (ORCPT ); Sun, 14 Aug 2016 16:34:29 -0400 Received: from mout.web.de ([212.227.15.4]:59502 "EHLO mout.web.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932176AbcHNUe0 (ORCPT ); Sun, 14 Aug 2016 16:34:26 -0400 Received: from [192.168.1.3] ([78.49.144.172]) by smtp.web.de (mrweb001) with ESMTPSA (Nemesis) id 0LiCbT-1anLCq3X9P-00nQdl; Sun, 14 Aug 2016 22:34:04 +0200 To: linux-media@vger.kernel.org, Hans Verkuil , Mauro Carvalho Chehab , Scott Jiang , adi-buildroot-devel@lists.sourceforge.net From: SF Markus Elfring Subject: [PATCH] media/i2c: Delete owner assignment Cc: LKML , kernel-janitors@vger.kernel.org, Julia Lawall Message-ID: <26fe8acf-1a8e-6c68-0c9a-d47d5cd880bb@users.sourceforge.net> Date: Sun, 14 Aug 2016 22:34:01 +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:pkNBk4DxKDsRZaaWtHGEltBTNh5p9wilC8XpOY675OzwJpgOQwm LNPci9Wh+FW2LgALucuCwBCU7wifzraBxJpwB5kQIOUSjoY7KfOxby+rvsfIaJaw+1hIiNK zkptaH1bBULm+deniPqjmy9iBKFPSHe8Lgpb7w5g2SJwdRK63YsTlus23PEfLpw67HCqeps ghN6IHYMepfp3MQncwWCw== X-UI-Out-Filterresults: notjunk:1; V01:K0:5zAZHW7tOII=:61OWSeisBQ8rgy5pQKu6MY qw3Wl/duTwIW/ov0BMn/uZSiv9WOIB5fAhJ9lJlGqLnVpKdBtChpLGvvPqBaXUBU45A+eZBWL 1yUBZzmchYFj1/YSgQ7PuYyqtmsS7csZR9v0kTXg/ynR6tltuu0gF/+/C/eYxsVX9sMRK6s6T KqRdysXKlI9AFlei3HRXlml61Q9HNiV05wtTWUeDYZ9etNhCAOrh8u9R+IgXyRCuAlWKejhdw 9YTtR6ApoVR4s6LV1fbgoSP4avu0uXQ0Etgf1jN5isdfevdV9ERMK3zZBf8eIqZSFMoeuPR64 7te4shor4kIUCLHwNaM7d1Pbq/9d+w5rCOm/Ro/sWGSAyd1QbXkhWpLkDFNzCgfXPbPgDl6Nd EfQDxCsFYr/uQqJgRfglN8SC+8Kurute/0CpmphFdpket4kdgIc2osVYtKux7+/1jsMk1DyKY GPcz23AGDIekHcuHgcpOs9ERXvmmo9fTkvMKqA4wqPSqP+0wAnBb12lhTvHAgYeoUebxGNGX9 ZYdSnITSQ1S86e1A+colkK4zhYREa36oEZDXZua6o7b9yJVE7a5CPwUxQSnUaZEh412xx+ZOU Y9RaS2yBka8v634j7g/9snN4r1TCIkSHXf1+Sf2eedNZ1k3bDUt8I/3g90TTODeYl3x1Jl/to 0xFPw/YwvAchqUqAzCILsRYoIpbvzj8WQ8oSAi4I/PCMhtR3XGKMeF6dPVVp9pO+d4Ea+wDwu vcJCiWupeKRb4PNR1wHA4uOnsfbsrWVDWbRPlslE1tI6PrDG3JTN0qIPppjcZhHmQKV25KsiL +CYKdYa Sender: linux-media-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-media@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP From: Markus Elfring Date: Sun, 14 Aug 2016 22:20:26 +0200 The field "owner" is set by core. Thus delete an extra initialisation. Generated by: scripts/coccinelle/api/platform_no_drv_owner.cocci Signed-off-by: Markus Elfring --- drivers/media/i2c/ad9389b.c | 1 - drivers/media/i2c/adv7183.c | 1 - drivers/media/i2c/adv7393.c | 1 - drivers/media/i2c/cs3308.c | 1 - drivers/media/i2c/s5k4ecgx.c | 1 - drivers/media/i2c/s5k6a3.c | 1 - drivers/media/i2c/ths8200.c | 1 - drivers/media/i2c/tlv320aic23b.c | 1 - drivers/media/i2c/tvp514x.c | 1 - drivers/media/i2c/tvp7002.c | 1 - drivers/media/i2c/vs6624.c | 1 - 11 files changed, 11 deletions(-) diff --git a/drivers/media/i2c/ad9389b.c b/drivers/media/i2c/ad9389b.c index 0462f46..5a932e4 100644 --- a/drivers/media/i2c/ad9389b.c +++ b/drivers/media/i2c/ad9389b.c @@ -1231,7 +1231,6 @@ MODULE_DEVICE_TABLE(i2c, ad9389b_id); static struct i2c_driver ad9389b_driver = { .driver = { - .owner = THIS_MODULE, .name = "ad9389b", }, .probe = ad9389b_probe, diff --git a/drivers/media/i2c/adv7183.c b/drivers/media/i2c/adv7183.c index 2bec737..04eecda 100644 --- a/drivers/media/i2c/adv7183.c +++ b/drivers/media/i2c/adv7183.c @@ -644,7 +644,6 @@ MODULE_DEVICE_TABLE(i2c, adv7183_id); static struct i2c_driver adv7183_driver = { .driver = { - .owner = THIS_MODULE, .name = "adv7183", }, .probe = adv7183_probe, diff --git a/drivers/media/i2c/adv7393.c b/drivers/media/i2c/adv7393.c index 76d9874..f19ad4e 100644 --- a/drivers/media/i2c/adv7393.c +++ b/drivers/media/i2c/adv7393.c @@ -456,7 +456,6 @@ MODULE_DEVICE_TABLE(i2c, adv7393_id); static struct i2c_driver adv7393_driver = { .driver = { - .owner = THIS_MODULE, .name = "adv7393", }, .probe = adv7393_probe, diff --git a/drivers/media/i2c/cs3308.c b/drivers/media/i2c/cs3308.c index d28b4f3..7da5f69 100644 --- a/drivers/media/i2c/cs3308.c +++ b/drivers/media/i2c/cs3308.c @@ -127,7 +127,6 @@ MODULE_DEVICE_TABLE(i2c, cs3308_id); static struct i2c_driver cs3308_driver = { .driver = { - .owner = THIS_MODULE, .name = "cs3308", }, .probe = cs3308_probe, diff --git a/drivers/media/i2c/s5k4ecgx.c b/drivers/media/i2c/s5k4ecgx.c index 8a0f22d..6ebcf25 100644 --- a/drivers/media/i2c/s5k4ecgx.c +++ b/drivers/media/i2c/s5k4ecgx.c @@ -1019,7 +1019,6 @@ MODULE_DEVICE_TABLE(i2c, s5k4ecgx_id); static struct i2c_driver v4l2_i2c_driver = { .driver = { - .owner = THIS_MODULE, .name = S5K4ECGX_DRIVER_NAME, }, .probe = s5k4ecgx_probe, diff --git a/drivers/media/i2c/s5k6a3.c b/drivers/media/i2c/s5k6a3.c index cbe4711..b1ecb44 100644 --- a/drivers/media/i2c/s5k6a3.c +++ b/drivers/media/i2c/s5k6a3.c @@ -376,7 +376,6 @@ static struct i2c_driver s5k6a3_driver = { .driver = { .of_match_table = of_match_ptr(s5k6a3_of_match), .name = S5K6A3_DRV_NAME, - .owner = THIS_MODULE, }, .probe = s5k6a3_probe, .remove = s5k6a3_remove, diff --git a/drivers/media/i2c/ths8200.c b/drivers/media/i2c/ths8200.c index 73fc42b..42340e3 100644 --- a/drivers/media/i2c/ths8200.c +++ b/drivers/media/i2c/ths8200.c @@ -499,7 +499,6 @@ MODULE_DEVICE_TABLE(of, ths8200_of_match); static struct i2c_driver ths8200_driver = { .driver = { - .owner = THIS_MODULE, .name = "ths8200", .of_match_table = of_match_ptr(ths8200_of_match), }, diff --git a/drivers/media/i2c/tlv320aic23b.c b/drivers/media/i2c/tlv320aic23b.c index 0370dd8..2e06c06 100644 --- a/drivers/media/i2c/tlv320aic23b.c +++ b/drivers/media/i2c/tlv320aic23b.c @@ -210,7 +210,6 @@ MODULE_DEVICE_TABLE(i2c, tlv320aic23b_id); static struct i2c_driver tlv320aic23b_driver = { .driver = { - .owner = THIS_MODULE, .name = "tlv320aic23b", }, .probe = tlv320aic23b_probe, diff --git a/drivers/media/i2c/tvp514x.c b/drivers/media/i2c/tvp514x.c index 7cdd948..7cf749f 100644 --- a/drivers/media/i2c/tvp514x.c +++ b/drivers/media/i2c/tvp514x.c @@ -1233,7 +1233,6 @@ MODULE_DEVICE_TABLE(of, tvp514x_of_match); static struct i2c_driver tvp514x_driver = { .driver = { .of_match_table = of_match_ptr(tvp514x_of_match), - .owner = THIS_MODULE, .name = TVP514X_MODULE_NAME, }, .probe = tvp514x_probe, diff --git a/drivers/media/i2c/tvp7002.c b/drivers/media/i2c/tvp7002.c index 4df640c..3dc3341 100644 --- a/drivers/media/i2c/tvp7002.c +++ b/drivers/media/i2c/tvp7002.c @@ -1086,7 +1086,6 @@ MODULE_DEVICE_TABLE(of, tvp7002_of_match); static struct i2c_driver tvp7002_driver = { .driver = { .of_match_table = of_match_ptr(tvp7002_of_match), - .owner = THIS_MODULE, .name = TVP7002_MODULE_NAME, }, .probe = tvp7002_probe, diff --git a/drivers/media/i2c/vs6624.c b/drivers/media/i2c/vs6624.c index 4c72a18..be4cb7a 100644 --- a/drivers/media/i2c/vs6624.c +++ b/drivers/media/i2c/vs6624.c @@ -863,7 +863,6 @@ MODULE_DEVICE_TABLE(i2c, vs6624_id); static struct i2c_driver vs6624_driver = { .driver = { - .owner = THIS_MODULE, .name = "vs6624", }, .probe = vs6624_probe,