Received: by 2002:a25:b794:0:0:0:0:0 with SMTP id n20csp7268307ybh; Thu, 8 Aug 2019 12:50:33 -0700 (PDT) X-Google-Smtp-Source: APXvYqx6OLr+XH7TGjE+bwQA03+OFg/Px0nzanNhO5Hg1MO0bUPYUyY1x2p/UUlKgVnB0YqaKqcx X-Received: by 2002:a63:1c22:: with SMTP id c34mr14145250pgc.56.1565293832834; Thu, 08 Aug 2019 12:50:32 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1565293832; cv=none; d=google.com; s=arc-20160816; b=Btb7vpAvUfWuKz7bIX9avFJzIum38sfynqv/HOss0vRoNbXWokSlpywxY4znoBhe7S 7SinpAoxnwHISkfbGZZ8IDMVRNDzVNi/MZmQH43LFzq/HKdruT1ggGI0Yphc4gRiQ6Yw CIsOZZ1eRvIivpMfB9qQcGHp5bOMAk6xLrQpdSKLNnXHSEQr/FuO7OldQF6xcnmxKQB1 9Opjd+Inqqd+4MbRrSbTDd2dXHSgY+X8UQrf8c5W6ijJbL108G8PujMWyzLKHcGISqhA 7sQ3nWIP2GcgFqK4JRLhAGSLOyJ6tffnEByJsPQ1AUPSFu4ybe6Zcqb+jugRsnl+djft APDQ== 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:user-agent:to:cc:from :subject:references:in-reply-to:content-transfer-encoding :mime-version:dkim-signature; bh=+IdFXSVRfDztjmT3eQRC6kK75CJKVFDtfj82Gcb3ID8=; b=mAma7KHCMQpoKSUCqdhqxA8ZEb3kX9LCOAGJBI9XEFzNHQvj0qgSj42KPbh0wKDirM gFhYTjeVFtYd7jbcsBj6BplC+vNJNyWI/kbrmo9tuLYd5WmQ4Xt13vUKJGVdwSm0sWfB p5jeQz4W7iXFyp1REBBGh7+VByuEuhtOxGl70Qdx4x/ClyM4mM1J3o9tN66k1B/EUeVy vUsg7DxxAaLk6muvL4tNM8QIAF5Aua4Sqrn9xInlbwlmK2fgvYtZDDrsjM+O9ivFdEsR kO/dCwAE4YKtueat7B7LfY15k9cwL7OhJIOIFYZiNhN06JU3SAJdp6BarvTyT7BoL0lu SuKQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=IJRA09Pf; 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=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id n20si49845525plp.395.2019.08.08.12.50.17; Thu, 08 Aug 2019 12:50:32 -0700 (PDT) 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=@kernel.org header.s=default header.b=IJRA09Pf; 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=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2390209AbfHHTsW (ORCPT + 99 others); Thu, 8 Aug 2019 15:48:22 -0400 Received: from mail.kernel.org ([198.145.29.99]:56446 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728025AbfHHTsW (ORCPT ); Thu, 8 Aug 2019 15:48:22 -0400 Received: from kernel.org (unknown [104.132.0.74]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id 825AD21743; Thu, 8 Aug 2019 19:48:21 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1565293701; bh=4WUS76RX+FiZef2BNrBwnS2eID3LAJlXHfM9bsTyhPQ=; h=In-Reply-To:References:Subject:From:Cc:To:Date:From; b=IJRA09PfOX3V5eyUEyDGjC/OBcbfWcmDQ0XQ7L9wIKQ6+RMXlYQT1VNCPahIjZiIi VCvxME+Pc3SgOsNZigL4EP3OhHEWfhzbRurqqROrMBmZP1n5IWGvAWwcX8gmwejK04 FyAGBCHl2mmJUkTNA8xOOdYNjTyzcQwixsPszDQg= Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable In-Reply-To: References: Subject: Re: [PATCH] clk: fix devm_platform_ioremap_resource.cocci warnings From: Stephen Boyd Cc: linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-clk@vger.kernel.org, bcm-kernel-feedback-list@broadcom.com, Michael Turquette , Philippe Mathieu-Daud?? , Florian Fainelli , linux-kernel@vger.kernel.org, kbuild-all@01.org To: Jonas Gorski , Julia Lawall User-Agent: alot/0.8.1 Date: Thu, 08 Aug 2019 12:48:20 -0700 Message-Id: <20190808194821.825AD21743@mail.kernel.org> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Quoting Julia Lawall (2019-08-08 09:10:53) > From: kbuild test robot >=20 > drivers/clk/bcm/clk-bcm63xx-gate.c:174:1-9: WARNING: Use devm_platform_io= remap_resource for hw -> regs >=20 > Use devm_platform_ioremap_resource helper which wraps > platform_get_resource() and devm_ioremap_resource() together. >=20 > Generated by: scripts/coccinelle/api/devm_platform_ioremap_resource.cocci >=20 > Fixes: 1c099779c1e2 ("clk: add BCM63XX gated clock controller driver") Is it fixing anything? As far as I can tell it's reducing lines of code with another function. > CC: Jonas Gorski > Signed-off-by: kbuild test robot > Signed-off-by: Julia Lawall