From patchwork Mon Aug 15 05:10:35 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: 9280313 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 D70BC60839 for ; Mon, 15 Aug 2016 05:11:15 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id C8AC528B97 for ; Mon, 15 Aug 2016 05:11:15 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id BCD7128B9B; Mon, 15 Aug 2016 05:11:15 +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=ham 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 CECA728B97 for ; Mon, 15 Aug 2016 05:11:13 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752635AbcHOFK7 (ORCPT ); Mon, 15 Aug 2016 01:10:59 -0400 Received: from mout.web.de ([212.227.15.4]:59348 "EHLO mout.web.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751792AbcHOFK5 (ORCPT ); Mon, 15 Aug 2016 01:10:57 -0400 Received: from [192.168.1.3] ([77.181.162.63]) by smtp.web.de (mrweb003) with ESMTPSA (Nemesis) id 0MHp7t-1bcAye27Kf-003cJ6; Mon, 15 Aug 2016 07:10:45 +0200 To: linux-media@vger.kernel.org, Hans Verkuil , Mauro Carvalho Chehab Cc: LKML , kernel-janitors@vger.kernel.org, Julia Lawall From: SF Markus Elfring Subject: [PATCH] [media] radio-si470x-i2c: Delete owner assignment Message-ID: Date: Mon, 15 Aug 2016 07:10:35 +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:6GnzyxAL+nhrLA7KNCktX6nY0DBpCjsUp5irZ8JEdYQC67Bte18 agvitNFQnT3ew8g3Lns/O73t3lfWSvIMOitS5jldXZ87jAyZVjofVAW96KUY5zbrBAQOfGY yhk3CRr/aZq0ex8239SEa5WyOuteOtSlN7uI2hftDvXaara/enck9phZDlxDkmabZVg9Dff MwOmtTLGiY1I+CiOBTEOg== X-UI-Out-Filterresults: notjunk:1; V01:K0:iU6BLqLJZ2E=:iXMYCissJs7oAOYX7h/LrQ UVK80Y8s+s5zMGAEScKezID/T0xNg0ijVnk9DbaFc96Kt2cG/MIg6ewxKi3rUucOxZpySKsr9 zui8tsNQW02d9iOSwGLC8azx7qVr1cQ3hd8k/mfzwICz5MJw8uFDLpFdDbgvS8ONx72109QOE Hln57fTWcFvstP2kqib91vKwmLHErjJlTmGviskaxokLH6pxYsj9w00HxQRg3rlFD50Tl5rYN o1DtkZNpHQ6tAVLrHvG2R67bOK6O2F0R47/z8JAMPSNpak+TxJMPUPvJa/H9s8Z25iuxOAX0k oBHf8ePfXOcAk/34z5Si92GmZ6l+glV3xXhD8jhBcg/OoBimBOv88Zrsabm8tSTdFIg76300Q n4V12ywW7hxFvKJBZAV9enSSmDjqkYjbG8OQU9F41GguQSfWT3WcqgdIMAVwYsQKQ0+Gp/6w+ vXzMlj1iM8heSSC2dQjoxe1xaV6Ci50z5bJjNXcH45C5aATgbAF7RjxV7DEe7YtwNRDCqpgNi kohDlQliD8SwoGgCxJH15hhuC1o6PIbKuJMOya9SWIo+FuB0jbU2HiZYbQRkxf2MaoIW2Ac5m DOV2/b/cJQ252+q7g8Eze/lR/+Sm6NKTSWR46njKp6YJvEs3EC5mnBE4L+2QeJoJ1BvZdbVT6 pgmJtOafRuLYua/GT0OrXKih+Xfz3chEOk4CavS5dzExNlhucRLRlYzwK6C5dRS0s7M6VBoUf Sts1UBpDGTbOx1pOddXRoQJTksXoZKGQrZ6Vu7rP3j6nQAUrohQ3Jr0SKxgInxGyyvXKVvN3t 5Y9tcHR 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: Mon, 15 Aug 2016 07:01:56 +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/radio/si470x/radio-si470x-i2c.c | 1 - 1 file changed, 1 deletion(-) diff --git a/drivers/media/radio/si470x/radio-si470x-i2c.c b/drivers/media/radio/si470x/radio-si470x-i2c.c index 471d6a8..ee0470a 100644 --- a/drivers/media/radio/si470x/radio-si470x-i2c.c +++ b/drivers/media/radio/si470x/radio-si470x-i2c.c @@ -509,7 +509,6 @@ static SIMPLE_DEV_PM_OPS(si470x_i2c_pm, si470x_i2c_suspend, si470x_i2c_resume); static struct i2c_driver si470x_i2c_driver = { .driver = { .name = "si470x", - .owner = THIS_MODULE, #ifdef CONFIG_PM_SLEEP .pm = &si470x_i2c_pm, #endif