Received: by 10.223.164.202 with SMTP id h10csp305850wrb; Wed, 22 Nov 2017 07:29:58 -0800 (PST) X-Google-Smtp-Source: AGs4zMaN2du4rlXzmsnx1n83CGEYXBAfP55yR0OBkVstgx0H39VyFCIrz9NW/QJR9+JMEfmwCuL3 X-Received: by 10.99.120.195 with SMTP id t186mr3904174pgc.62.1511364598840; Wed, 22 Nov 2017 07:29:58 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1511364598; cv=none; d=google.com; s=arc-20160816; b=kBHGwIw/vbAkl00VAXsR8nUWtoIyADJnAOTlE6OR3zgODv1A+HNQLC+4fN6lBF2u9m GASD2KOWYur+4CbIbqoatKTK9ztfqBxUl2Ca5v/ZA8oSaN2yznQT0SumAW/d4UQ18/T8 RW0QA7AW0DVZVd9SBHhGhgAxhANViGHjUWTv8n66ABJ4G+/dvdyZlA9w1pEUfxkC938u x1X1yxzziMQhxZkEHnlLTvpTgopiIe32K88Uvz4qDRjbieUe96MUPsI8n5fVmsyqVu7c o2cyNbs7edBDc9qOPkTx8xb2aChTX2NRwkahVBU8bgI8yyM3JWniwKR8u9RMdod6aSBT R5xA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:message-id:date:subject:cc:to:from :dkim-signature:arc-authentication-results; bh=iIrMeRBfeBhjtHFV9fgTpobhiTb1iS5ND8LG0iUEbao=; b=ORTlns25ci41WY0zJgtTDExmsGrqp1GKIbbZjd8OTNU5TtVqyBhww4SOZ0y9zCIvmg xCtYB9+EULGJC6r88Duom6dII+KzbFhMKPUfP7u700ulS5qAHuenJPfUCVBcN9LArhsF BVvMG6xcdFtSU3oy+JnLsWJ1QXzVzBW2Y40pZ1Ho5JdbxTlaBn/j1xatShav1BH8xKE8 VV8IzbwzknkDVovVolEVVo2QIkfiKdlxBDGI82WgV41t1V75xSXq31X8mr/+8GeQoDT5 YUALhk8Qs+CQapA7fBhyJmr0wfocgrqsuT1a89oZi08NQ/njv3yk7QsIJivjZPR91FLN 0Z8Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=eXuKyYFm; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id t3si15089987plr.284.2017.11.22.07.29.47; Wed, 22 Nov 2017 07:29:58 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=eXuKyYFm; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751845AbdKVP2Y (ORCPT + 77 others); Wed, 22 Nov 2017 10:28:24 -0500 Received: from mail-lf0-f67.google.com ([209.85.215.67]:47078 "EHLO mail-lf0-f67.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751476AbdKVP2X (ORCPT ); Wed, 22 Nov 2017 10:28:23 -0500 Received: by mail-lf0-f67.google.com with SMTP id g35so18666610lfi.13; Wed, 22 Nov 2017 07:28:22 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id; bh=iIrMeRBfeBhjtHFV9fgTpobhiTb1iS5ND8LG0iUEbao=; b=eXuKyYFmW/pNFgi40tEoR+Y3DugOdR1YInxsnM63FUI7rcyTF2N4670vLJ7XdLkCUa S0nGA2ybe45u6Dv5YhY10ed9IVRC4kKfTwOaB+eo5xPgF6B6MNEKVUwlhLS/GyWxjyix C/9F66HPI7dGmfEdG4o7JI3zwzrEOH2RsflRW8qZBCWfNWF/HFTwNMdQpKrcjIWlyJG0 SVR3xtdsDmONHsCRqGZr4IUBQIHjv9a8iLragQi2jiRdifJaRbeUPnXXRpK50cHSFySR 9oFFiMKrqwaHbB9mtEvZCFDQxuGVlW9H3WqsIHgIhpte4pnnMBWHgau03hjZXO0rNhpC 98IQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id; bh=iIrMeRBfeBhjtHFV9fgTpobhiTb1iS5ND8LG0iUEbao=; b=nt+bw/zuowP3Ang3bnJudvGo6kKiyAB+uia1RHk2DUM6g0LIGR9PgVnGDq41ISB0+m NqQSFn2DkYfAVnDA0pVX+nYztjfzIwjkXj4R+MyA5PxayJnnZd4YNEbP8wmkSu++jLIX RAjF5pvxbHaTe8HUgwxD7I6/uuY6bAcEatsOtout1QCwRBBhaTIduok8GzUacknJv2wp Z9X0srxP+GRxmz7l5CLPJVkKDVC/PlTw+Sm4ruU8USPLBk2Ld8D5hsOCbavpntMvqvmU gbPVuw65JB91HN5PF3sHf4dp/gM4pLhOz6wQvfC33fxKwmys6PUmb2hKgqNy+JUpmCqM uE2g== X-Gm-Message-State: AJaThX7gDWSjd8s+0EDDFt9tuXHgEAbHSa9kg8ZqiTqe1ir/vhOleyp7 zrXzIfo0UWz45PW1IvqFxvQ= X-Received: by 10.46.48.6 with SMTP id w6mr7021605ljw.10.1511364501506; Wed, 22 Nov 2017 07:28:21 -0800 (PST) Received: from localhost.localdomain ([195.254.138.66]) by smtp.gmail.com with ESMTPSA id c132sm2871869lfe.37.2017.11.22.07.28.20 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Wed, 22 Nov 2017 07:28:20 -0800 (PST) From: Vasyl Gomonovych To: balbi@kernel.org, gregkh@linuxfoundation.org, alcooperx@gmail.com, f.fainelli@gmail.com, srinath.mannam@broadcom.com, linux-usb@vger.kernel.org Cc: linux-kernel@vger.kernel.org, gomonovych@gmail.com Subject: [PATCH] usb: bdc: fix platform_no_drv_owner.cocci warnings Date: Wed, 22 Nov 2017 16:28:00 +0100 Message-Id: <1511364480-15962-1-git-send-email-gomonovych@gmail.com> X-Mailer: git-send-email 1.9.1 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Remove .owner field if calls are used which set it automatically drivers/usb/gadget/udc/bdc/bdc_core.c:645:3-8: No need to set .owner here. The core will do it. Generated by: scripts/coccinelle/api/platform_no_drv_owner.cocci Signed-off-by: Vasyl Gomonovych --- drivers/usb/gadget/udc/bdc/bdc_core.c | 1 - 1 file changed, 1 deletion(-) diff --git a/drivers/usb/gadget/udc/bdc/bdc_core.c b/drivers/usb/gadget/udc/bdc/bdc_core.c index d39f070acbd7..01b44e159623 100644 --- a/drivers/usb/gadget/udc/bdc/bdc_core.c +++ b/drivers/usb/gadget/udc/bdc/bdc_core.c @@ -642,7 +642,6 @@ static SIMPLE_DEV_PM_OPS(bdc_pm_ops, bdc_suspend, static struct platform_driver bdc_driver = { .driver = { .name = BRCM_BDC_NAME, - .owner = THIS_MODULE, .pm = &bdc_pm_ops, .of_match_table = bdc_of_match, }, -- 1.9.1 From 1584731377304404586@xxx Wed Nov 22 02:26:52 +0000 2017 X-GM-THRID: 1584731377304404586 X-Gmail-Labels: Inbox,Category Forums,HistoricalUnread