From mboxrd@z Thu Jan 1 00:00:00 1970 From: Dmitry Torokhov Subject: Re: [PATCH] input/keyboard: fix platform_no_drv_owner.cocci warnings Date: Sun, 20 Aug 2017 09:28:41 -0700 Message-ID: <20170820162841.GA1176@dtor-ws> References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Received: from mail-pg0-f68.google.com ([74.125.83.68]:38232 "EHLO mail-pg0-f68.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753101AbdHTQ2p (ORCPT ); Sun, 20 Aug 2017 12:28:45 -0400 Content-Disposition: inline In-Reply-To: Sender: linux-input-owner@vger.kernel.org List-Id: linux-input@vger.kernel.org To: Julia Lawall Cc: Takashi Iwai , alsa-devel@alsa-project.org, linux-input@vger.kernel.org, linux-kernel@vger.kernel.org, kbuild-all@01.org On Sun, Aug 20, 2017 at 11:19:38AM +0200, Julia Lawall wrote: > 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 - Hm, this driver is neither in my tree nor in next; where is it coming from? > 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, > }; -- Dmitry