Received: by 2002:a05:6a10:eb17:0:0:0:0 with SMTP id hx23csp124335pxb; Tue, 7 Sep 2021 19:39:51 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyfYXXmpQq2Urcz4tq9jCJbsEb3lyB1OFLkj8fZrweOYT+80quB8BaVj35vk8NvhscXnV6a X-Received: by 2002:a02:8189:: with SMTP id n9mr1415644jag.107.1631068791443; Tue, 07 Sep 2021 19:39:51 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1631068791; cv=none; d=google.com; s=arc-20160816; b=NR888QW2sgV73hLyNx7AdLQFwcbpgiMmzI4lXFyuM52Vik2iEFnqVYnWVZ5Hu3lZu4 qsd6YC4avVOBMqt1Fp6Q6O4MhQ58eOZlMKmLDpo+VpOdUHaDr46QH9KVn5WDE3EEurns GMpURmU5AACkRbYyBDHDjMNNhIjJdCuAORrs7FZTB6yIbzfRU7QaD7Rcm9pSlO+yMFlH R3mbZpiDfzS/dqE52dRwJ1hl+TQDaAYsaGKIrRl1YZtpszUdTZmzeSrj9e+UyeGNqf3q henqiOfz5mhHk9iAI9mW/KQ9T/v/E4N9arNUfi2PWHVGzW5xPcGrOT0aRsC0mWSJi0Y9 oBVA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:content-language :in-reply-to:mime-version:user-agent:date:message-id:from:references :cc:to:subject:dkim-signature:dkim-signature; bh=KBQJ2htm+9uNSNpB1V4iykXXKdsWXwGHJy4WSWj9p/Q=; b=ucRdLVuRhDy28LSJG4/vfgvDHOkNMtWXs3jLSkj5nvXGwb1uWagWSVuczwQQFb0/P5 12UTLo6PYH8eFYGbtBgFaWa7dLOVx8VQQWSYej9KDl1pMMaQr+JCOmX2vBSeJB9CqOVL LF9+5Lg91YB04UA0R2BmyWQgkluy/ETjCeiCawZIARSjsM1Kle30wG/tptn30O9B3O6h 4/EWAUWpz2z19fQ3RlU8SK7gDcuUNnvZMjLZtQM/BT2lmJ6UQAOJl1pXOZidLIOeBd/N Ht5BcxyX2MVLERI+Vb4Nlbc6y/fsasEjiJUHrlRd3/NKSz+YtrpobITmOchFQT0leqNL mfnA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@sholland.org header.s=fm3 header.b=lUJ3LpEP; dkim=pass header.i=@messagingengine.com header.s=fm3 header.b=GqKyIaWF; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id b8si885027ilm.108.2021.09.07.19.39.40; Tue, 07 Sep 2021 19:39:51 -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=pass header.i=@sholland.org header.s=fm3 header.b=lUJ3LpEP; dkim=pass header.i=@messagingengine.com header.s=fm3 header.b=GqKyIaWF; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1347193AbhIHCXw (ORCPT + 99 others); Tue, 7 Sep 2021 22:23:52 -0400 Received: from wout5-smtp.messagingengine.com ([64.147.123.21]:56465 "EHLO wout5-smtp.messagingengine.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S235450AbhIHCXv (ORCPT ); Tue, 7 Sep 2021 22:23:51 -0400 Received: from compute5.internal (compute5.nyi.internal [10.202.2.45]) by mailout.west.internal (Postfix) with ESMTP id 0E61B320039A; Tue, 7 Sep 2021 22:22:43 -0400 (EDT) Received: from mailfrontend2 ([10.202.2.163]) by compute5.internal (MEProxy); Tue, 07 Sep 2021 22:22:44 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sholland.org; h= subject:to:cc:references:from:message-id:date:mime-version :in-reply-to:content-type:content-transfer-encoding; s=fm3; bh=K BQJ2htm+9uNSNpB1V4iykXXKdsWXwGHJy4WSWj9p/Q=; b=lUJ3LpEP6r98th3O0 4K+5iB0uku7U1jSOK/WhRYiypKj9nt7ZogjFa+Fm66/6Z8M1KRoFx3VZXUZMW5S/ qWpEFpZ3HHtof6Bi1Pd+hORgHnB8f/fSNuDk1Rx7ZSGQ0RERuSiyzenegbRxKVDt RiKDUiHQAqKe9mhe5pqP1wgWPaO3hTKWEF0ePZZ7Yd0ZuvmNJNk4WfrhkonG3Rvp y/6zJTS0cMy/fYFbtGBm35Wb9pS7vg9KfswZxgTCREWv3C6A9VZzCxBLA06c2Dw1 XK36GNt+oXpgiVEwgkqeZPyQEaP/PInSm9jPUDpKlTt1pieP9hSoaSt/6L3AmMaL mgVDA== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-transfer-encoding:content-type :date:from:in-reply-to:message-id:mime-version:references :subject:to:x-me-proxy:x-me-proxy:x-me-sender:x-me-sender :x-sasl-enc; s=fm3; bh=KBQJ2htm+9uNSNpB1V4iykXXKdsWXwGHJy4WSWj9p /Q=; b=GqKyIaWF9Rg4lLQtqUrcB6Q8Mg+DHcisLXb6tPIuvcoO0Km2/0DpNmm4K 8Y7BXPAf7UMCwiYGERbbHtpqoFeK5VXTh9/tqxlw+9ptaVG7sR8o8vOsv02CMD7S +sxu6Mtw0x6uqfxw5dVZqpXNyt4TfPbfKPNEqMewDxjDcDIPZJXtU4Dmunf3/CoA E68tg9HeTcpDx+bt7/AKRdJwzdf1jv1ijHDt9j06r2sj7P8NnbL3i9b8PlYvdTjR DN7NMa8eXYCpGoWhBia74lUhJgA7C/fOUIuHqJ04z2zzZBO2VHeOR20eH0+q7EkJ 9sfHN7jnVh+6Pj5Ucg09aCpemlHCg== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvtddrudefiedgheehucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmne cujfgurhepuffvfhfhkffffgggjggtgfesthejredttdefjeenucfhrhhomhepufgrmhhu vghlucfjohhllhgrnhguuceoshgrmhhuvghlsehshhholhhlrghnugdrohhrgheqnecugg ftrfgrthhtvghrnhepgfevffetleehffejueekvdekvdeitdehveegfeekheeuieeiueet uefgtedtgeegnecuvehluhhsthgvrhfuihiivgeptdenucfrrghrrghmpehmrghilhhfrh homhepshgrmhhuvghlsehshhholhhlrghnugdrohhrgh X-ME-Proxy: Received: by mail.messagingengine.com (Postfix) with ESMTPA; Tue, 7 Sep 2021 22:22:41 -0400 (EDT) Subject: Re: [PATCH] mailbox: sun6i: Make use of the helper function devm_platform_ioremap_resource() To: Cai Huoqing Cc: Jassi Brar , Maxime Ripard , Chen-Yu Tsai , Jernej Skrabec , linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-sunxi@lists.linux.dev References: <20210907074201.2553-1-caihuoqing@baidu.com> From: Samuel Holland Message-ID: <0d8c959b-d256-921c-e6a4-2f99e298b9cc@sholland.org> Date: Tue, 7 Sep 2021 21:22:40 -0500 User-Agent: Mozilla/5.0 (X11; Linux ppc64; rv:78.0) Gecko/20100101 Thunderbird/78.10.2 MIME-Version: 1.0 In-Reply-To: <20210907074201.2553-1-caihuoqing@baidu.com> Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 9/7/21 2:42 AM, Cai Huoqing wrote: > Use the devm_platform_ioremap_resource() helper instead of > calling platform_get_resource() and devm_ioremap_resource() > separately > > Signed-off-by: Cai Huoqing > --- > drivers/mailbox/sun6i-msgbox.c | 9 +-------- > 1 file changed, 1 insertion(+), 8 deletions(-) Reviewed-by: Samuel Holland