Received: by 2002:a05:6a10:206:0:0:0:0 with SMTP id 6csp586755pxj; Fri, 28 May 2021 10:31:19 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwb0N4kNocSY3F+omLuuwW4xHKCUjsYxCuOrbMT8+l3o6/0VxxbDBdFav8gu7o2bDgAK0it X-Received: by 2002:a05:6e02:f50:: with SMTP id y16mr7614892ilj.61.1622223079400; Fri, 28 May 2021 10:31:19 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1622223079; cv=none; d=google.com; s=arc-20160816; b=yG+9yoK9MpwgPmtg76EMJN/LDurzR4+bllhYywV72pnREhWyD+4/CfKf7GT/MIS6ZF psxDs/5trRt5DcpMTCVJrruqrbYhTHNzag13HuH8N5C0ZH1YJoHqlDKYB9A3OsMD1FV9 VQYhj6DsaxiR1lQpq1EonSltTNdb0SrTu5IjLPr8uGLKLp2LRmXby0omaiHUgYvtPOlP 7ix3qxBs/JHIER4umucNn5PMOoWYyzdCMDPVfiJllAPCM2Wu7dnCUQtmh1NUGCl9EMtg bAGL59ggrpBi+5wNSaIxT1RYYouy6Bam5AgcSmzgP6lBNiot7z+W99tXVi6A07Iq6NaZ OxVw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=Hroq9q160zoyTMcF3jGQHxtJols+K059khUcfBoTqUI=; b=X0duVMRRzaM6WGJri/gBY9k1noTnOZecatiKUK09nwjl3nXSnknN2w0PwnQxdo9vKd j91AOBzpfX+r5mCxoCBx/yN9xI6wSxAEOJy/Wqqr7Xx9pjXEg8JFfh/8k4yyVgaHV8CG q/PEekKU9qpPvx5YT2prgX4iYeixHfrh+YusFSA223hX887ficuUGB9suoZRmiAitp6G 6yxAmTigoSoRU6P1/vqpNQxopa/9KKS+YDbiC3PR1t71Lg4I84F/SVUzJYlvSfg7tm8R sir/m46N0mRoEHp+Bywxaj+8mxB4w9QEBB//N8OkwYZt/AtIcmyhg9FctikpUDaOpcke jidw== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@sirena.org.uk header.s=20170815-heliosphere header.b=AQsr5PMG; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id z17si6565674jat.5.2021.05.28.10.31.06; Fri, 28 May 2021 10:31:19 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=fail header.i=@sirena.org.uk header.s=20170815-heliosphere header.b=AQsr5PMG; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S236339AbhE1QGG (ORCPT + 99 others); Fri, 28 May 2021 12:06:06 -0400 Received: from heliosphere.sirena.org.uk ([172.104.155.198]:59316 "EHLO heliosphere.sirena.org.uk" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S236253AbhE1QGF (ORCPT ); Fri, 28 May 2021 12:06:05 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=sirena.org.uk; s=20170815-heliosphere; h=Content-Transfer-Encoding: Content-Type:MIME-Version:References:In-Reply-To:Message-Id:Date:Subject:Cc: To:From:Sender:Reply-To:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Id: List-Help:List-Unsubscribe:List-Subscribe:List-Post:List-Owner:List-Archive; bh=Hroq9q160zoyTMcF3jGQHxtJols+K059khUcfBoTqUI=; b=AQsr5PMGRm4n2pT6p9xh9jyFOr xGQuCugfRcC1zFpJSpAUPnV5+7YKS8wXflxG4d8CV4/v7kIRwOgHk+SEyKOQvyLzrmmw9wmMlaysN xBwGAi/7kCuM/RilfyLJbFz04XRvltuXAHZeJGRMOgSzLR4A7Mm7WrhoS3vlMXQdGy+8=; Received: from cpc102334-sgyl38-2-0-cust884.18-2.cable.virginm.net ([92.233.91.117] helo=fitzroy.sirena.org.uk) by heliosphere.sirena.org.uk with esmtpsa (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1lmeyE-006cze-DY; Fri, 28 May 2021 16:04:22 +0000 Received: by fitzroy.sirena.org.uk (Postfix, from userid 1000) id 60112D07918; Fri, 28 May 2021 17:04:21 +0100 (BST) From: Mark Brown To: matti.vaittinen@fi.rohmeurope.com, lgirdwood@gmail.com, Zou Wei Cc: Mark@sirena.org.uk, Brown@sirena.org.uk, broonie@kernel.org, linux-kernel@vger.kernel.org, linux-power@fi.rohmeurope.com Subject: Re: [PATCH -next] regulator: bd71815: fix platform_no_drv_owner.cocci warnings Date: Fri, 28 May 2021 17:04:21 +0100 Message-Id: <162221783234.3504784.12322614984705731921.b4-ty@kernel.org> X-Mailer: git-send-email 2.30.2 In-Reply-To: <1622109244-54739-1-git-send-email-zou_wei@huawei.com> References: <1622109244-54739-1-git-send-email-zou_wei@huawei.com> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Mark Brown,,, On Thu, 27 May 2021 17:54:04 +0800, Zou Wei wrote: > ./drivers/regulator/bd71815-regulator.c:644:3-8: No need to set .owner here. The core will do it. > > Remove .owner field if calls are used which set it automatically > > Generated by: scripts/coccinelle/api/platform_no_drv_owner.cocci Applied, thanks! [1/1] regulator: bd71815: fix platform_no_drv_owner.cocci warnings commit: d149b855b955fe92ab16ddd59c1d540f82e6a40f Best regards, -- Mark Brown,,,