From patchwork Mon Aug 15 11:12:46 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: 9280805 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 1653260467 for ; Mon, 15 Aug 2016 11:13:00 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 0366228BD7 for ; Mon, 15 Aug 2016 11:13:00 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id E8BAC28C08; Mon, 15 Aug 2016 11:12:59 +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 7FC9928BD7 for ; Mon, 15 Aug 2016 11:12:59 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752772AbcHOLM6 (ORCPT ); Mon, 15 Aug 2016 07:12:58 -0400 Received: from mout.web.de ([212.227.17.11]:64902 "EHLO mout.web.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752768AbcHOLM5 (ORCPT ); Mon, 15 Aug 2016 07:12:57 -0400 Received: from [192.168.1.3] ([77.181.162.63]) by smtp.web.de (mrweb101) with ESMTPSA (Nemesis) id 0MMn1H-1bYSLA2SFT-008aij; Mon, 15 Aug 2016 13:12:47 +0200 To: linux-fbdev@vger.kernel.org, Jean-Christophe Plagniol-Villard , Jingoo Han , Lee Jones , Tomi Valkeinen Cc: LKML , kernel-janitors@vger.kernel.org, Julia Lawall From: SF Markus Elfring Subject: [PATCH] backlight-tosa: Delete owner assignment Message-ID: Date: Mon, 15 Aug 2016 13:12:46 +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:UgozyvywqVaaA3wwy2VWQZrwbGVulOD5jeQRKxGbqf5syGSkRiI LXsBfPTsJLxnwjSWH2gGqTt30jnVKtWI2HNWpDv20Eqr4GWul0NMn3MLGKRTCJXoXxMzce3 4ahvN9ZCmy6556VA7rnPOWqRULR3iUOFq/FYXMyIS+hjAZjpy6gsupnUtJV2Mxn1oDpCHZa GYh76LWkI1F/02NcEuULg== X-UI-Out-Filterresults: notjunk:1; V01:K0:Nsc5mMrlFBU=:+mMZ+iLWaszVPgtQ5PcSNg 2k36VJ1eJlI34XswIIqu8SMCfGDdIqk4XYh6klMFjqBenRTGTVppOx5INSw4BTr+Xce79JnBk PnfF0qJaaPHDbrV2Tanvt8H9Sk7spdGEn2tawyOm9NRgmZGzSxfiyUsW8Gd0qGYl5+Ddix1Gt z93kB+XrN1tiMatwC0PIm830xYikY8cNbF+lzmumhZUgfFCt+zkOQdW5l1aF5at2+GZHCl8tF JarvyjszhEd2fLs3fiGSmiJuU5EiymsiJoS6oEOSZDBQd2DHIOlLS/Y/jij+TAVlT8ckAXZUR kNuB3KPpXDT02fwWTdZhfB+x1q5nCLlLBToLnWOZqyCKBI8eUO9xHtEKWhReBkv+xripg7WZ9 VpyZj5lkhoDdGsCm6wWlmFoyQzrkCRjuTXgDbGT5D6dlabNSNIC/DWiPc06NYQXRBoJCkA9ew 0xtqGuMY+9ZpNgAfdtMKHdNHlv65osWbd2a6ZYHgRtCFtbdPECh8iRWsBgH46D7hMpdbQQmBi iQW/eRqrZObNhU5iPjIV4kNcDWSjsZFdEZ2uTapVn+hpPvmvrHKS42jG4Q2xd1iPL7fhjWNA1 wrD+XYWi2t86qhlL4cgg5LzK+857wE4EyYm2qQOVVtzVZpw/KEa1sOrGFPreduPzNOqUDUyNH yY9uwGGkP/i4usU+0KRd1AusT8HYW39RzMxBKdPUN1A/Ltuk8LCdl73i3SI8669URyNQYlBjM Lcnyfs+gnffGFbHEmXyLXkDyYgH47C4RvEVagf3ccafxvOwyi6r05i36SjTa0NHxKm2jjl6Ej qFxeJoU 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: Mon, 15 Aug 2016 13:03:29 +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/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,