From patchwork Sun Aug 20 09:19:38 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Julia Lawall X-Patchwork-Id: 9910989 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 73988602A0 for ; Sun, 20 Aug 2017 09:19:48 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 6414E287D1 for ; Sun, 20 Aug 2017 09:19:48 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 58CF6287D3; Sun, 20 Aug 2017 09:19:48 +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=-1.9 required=2.0 tests=BAYES_00, RCVD_IN_DNSWL_NONE autolearn=ham version=3.3.1 Received: from alsa0.perex.cz (alsa0.perex.cz [77.48.224.243]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 9DE8B287D1 for ; Sun, 20 Aug 2017 09:19:46 +0000 (UTC) Received: from alsa0.perex.cz (localhost [127.0.0.1]) by alsa0.perex.cz (Postfix) with ESMTP id F02E82673D8; Sun, 20 Aug 2017 11:19:42 +0200 (CEST) X-Original-To: alsa-devel@alsa-project.org Delivered-To: alsa-devel@alsa-project.org Received: by alsa0.perex.cz (Postfix, from userid 1000) id E16BD2673D9; Sun, 20 Aug 2017 11:19:41 +0200 (CEST) Received: from mail3-relais-sop.national.inria.fr (mail3-relais-sop.national.inria.fr [192.134.164.104]) by alsa0.perex.cz (Postfix) with ESMTP id E87F5266A74 for ; Sun, 20 Aug 2017 11:19:39 +0200 (CEST) X-IronPort-AV: E=Sophos;i="5.41,402,1498514400"; d="scan'208";a="234852775" Received: from 85-171-60-79.rev.numericable.fr (HELO [192.168.0.15]) ([85.171.60.79]) by mail3-relais-sop.national.inria.fr with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 20 Aug 2017 11:19:38 +0200 Date: Sun, 20 Aug 2017 11:19:38 +0200 (CEST) From: Julia Lawall X-X-Sender: jll@hadrien To: Takashi Iwai Message-ID: User-Agent: Alpine 2.20 (DEB 67 2015-01-07) MIME-Version: 1.0 Cc: kbuild-all@01.org, alsa-devel@alsa-project.org, Dmitry Torokhov , linux-kernel@vger.kernel.org, linux-input@vger.kernel.org Subject: [alsa-devel] [PATCH] input/keyboard: fix platform_no_drv_owner.cocci warnings X-BeenThere: alsa-devel@alsa-project.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "Alsa-devel mailing list for ALSA developers - http://www.alsa-project.org" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: alsa-devel-bounces@alsa-project.org Sender: alsa-devel-bounces@alsa-project.org X-Virus-Scanned: ClamAV using ClamSMTP No need to set .owner here. The core will do it. Generated by: scripts/coccinelle/api/platform_no_drv_owner.cocci Fixes: 52cf590518d7 ("input/keyboard: Add support for Dollar Cove TI power button") Signed-off-by: Julia Lawall Signed-off-by: Fengguang Wu --- dc_ti_pwrbtn.c | 1 - 1 file changed, 1 deletion(-) --- a/drivers/input/keyboard/dc_ti_pwrbtn.c +++ b/drivers/input/keyboard/dc_ti_pwrbtn.c @@ -75,7 +75,6 @@ static int dc_ti_pwrbtn_probe(struct pla static struct platform_driver dc_ti_pwrbtn_driver = { .driver = { .name = DRIVER_NAME, - .owner = THIS_MODULE, }, .probe = dc_ti_pwrbtn_probe, };