From patchwork Tue Aug 16 15:17:17 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: 9284147 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 4369F600CB for ; Tue, 16 Aug 2016 15:17:57 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 39FA328C1C for ; Tue, 16 Aug 2016 15:17:57 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 2E8C628C36; Tue, 16 Aug 2016 15:17:57 +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 CB7C328C1C for ; Tue, 16 Aug 2016 15:17:56 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753413AbcHPPRj (ORCPT ); Tue, 16 Aug 2016 11:17:39 -0400 Received: from mout.web.de ([212.227.15.14]:58050 "EHLO mout.web.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753259AbcHPPRi (ORCPT ); Tue, 16 Aug 2016 11:17:38 -0400 Received: from [192.168.1.3] ([77.182.93.131]) by smtp.web.de (mrweb003) with ESMTPSA (Nemesis) id 0M3BeZ-1bIYTN3Ci7-00sxll; Tue, 16 Aug 2016 17:17:22 +0200 Subject: [PATCH v2] backlight-tosa: Delete unnecessary assignment for the field "owner" To: Vegard Nossum , Tomi Valkeinen , Lee Jones , Jingoo Han , Jean-Christophe Plagniol-Villard , linux-fbdev@vger.kernel.org References: Cc: linux-kernel@vger.kernel.org, kernel-janitors@vger.kernel.org, Julia Lawall From: SF Markus Elfring Message-ID: Date: Tue, 16 Aug 2016 17:17:17 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.2 MIME-Version: 1.0 In-Reply-To: X-Provags-ID: V03:K0:p61WQPDTqubTChopd5iCa4AkIONfZ6ESxmhAJKkfIU7RZTG+XTI XqaZtj+u/WQ/sroXNfAYmVgPAcZpqjGVyrVn9iQPPJ1BDW02r0LfEE27wWWrtyqJ6Y0yxYf y7ayDNLuzgKl6ER/Xyc0RrgfoKLmtg42PovuR3MAytzNbjMEAzdQQ6P+3COG9PV7WIXt+jV dPzI0feWNx3e4oNQmW+6w== X-UI-Out-Filterresults: notjunk:1; V01:K0:diGerIuZLAc=:ozgkXAJ/mwH+0M1WXJNwCn DIouj1jGV58zId0ewWNtVh0nQy/MsNl/BpjRJN3kpibF4dOtwu6Fw27gGKdxvcmsVt5KwzjRj le8p7Q/0NITVZXzfy9k5xAKmkzzAa7BAPFb0v++V7/4hLhTQg5bWLWJaqt6IRUr9o7Iu8ceVM YPqj1srOiCBryGy1Uiupqs7iZE2RoFbxHFaZdP/Q2fzOSYAbZFYzgP6SJhGCVaHPR4Z9Jf5Aq 6z5I/SS/R8iucwd1xtMpPM0su+jPx0xZ13lrDgThgmTqaj5XZFxvwlxsXYq4h1fNNN0H/hSQr +pOTy/vow5gOcCXoH20w8GOZGJPpiOWPaXYRQLNYeRBQcae8+UyE/zOgJaNC1yAZVq2vlNWg0 LXPF48+NQzbIckgOsw7yhEPER4plh2xOL0NeCJ7GupBow48bRmE4QBVLKjbv+j25gY83bupLm wCIRECFuj3kMoFkMZEhZ0QQypv3AjZcKyLGvHT1HmQDBdXfeKITcR9IN6wBMB5mkTyhw1oTnh 6AmIwPfFV3aaV3vgvmqnbJREYwER83QV4nETpZS66yfcD42pdmq1+EKoLas5zwsLnUVNkzRVm eAwDB/1p9LEpON1I7BkI0tIrQpLmTWH63KjPT0oJhGgY6OFw1arUbU6ijyFxnXaYVmxy0LJ62 wkAPmjMT726+adyk1+bMUHNi/A7SM5nh0hsYsb+CY0Sq7v/TMCRsWLvn2f8rvON7qng+jBePE 2fIe3vI2aJwhLuswFaFrRyLC8Qltq9Z8calDEWGOIThzQjpZrRkey8OmaXhUoy3Kyyqlf7bPz eVQUPNH Sender: linux-fbdev-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-fbdev@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP From: Markus Elfring Date: Tue, 16 Aug 2016 17:10:12 +0200 The field "owner" is set by the core. Thus delete an unneeded initialisation. Generated by: scripts/coccinelle/api/platform_no_drv_owner.cocci Signed-off-by: Markus Elfring --- v2: The commit message was adjusted. drivers/video/backlight/tosa_bl.c | 1 - 1 file changed, 1 deletion(-) diff --git a/drivers/video/backlight/tosa_bl.c b/drivers/video/backlight/tosa_bl.c index 83742d8..9706759 100644 --- a/drivers/video/backlight/tosa_bl.c +++ b/drivers/video/backlight/tosa_bl.c @@ -163,7 +163,6 @@ MODULE_DEVICE_TABLE(i2c, tosa_bl_id); static struct i2c_driver tosa_bl_driver = { .driver = { .name = "tosa-bl", - .owner = THIS_MODULE, .pm = &tosa_bl_pm_ops, }, .probe = tosa_bl_probe,