From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from wout5-smtp.messagingengine.com (wout5-smtp.messagingengine.com [64.147.123.21]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 3026572 for ; Wed, 8 Sep 2021 02:22:44 +0000 (UTC) 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 Precedence: bulk X-Mailing-List: linux-sunxi@lists.linux.dev List-Id: List-Subscribe: List-Unsubscribe: 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 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 From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-18.0 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_CR_TRAILER, INCLUDES_PATCH,MAILING_LIST_MULTI,NICE_REPLY_A,SPF_HELO_NONE,SPF_PASS, USER_AGENT_SANE_1 autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 4AF0CC433F5 for ; Wed, 8 Sep 2021 02:24:57 +0000 (UTC) Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 171CD61090 for ; Wed, 8 Sep 2021 02:24:57 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.1 mail.kernel.org 171CD61090 Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=sholland.org Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:In-Reply-To:MIME-Version:Date: Message-ID:From:References:Cc:To:Subject:Reply-To:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:List-Owner; bh=D3VOEG2+8cztia7Z2gOqg2OWFJ9Hqc5+kRAjMkZ5e18=; b=X0hCfyXiYOfgHeaSM5BNkHXwmT JAHVvN3UWO8gyPyjFk8tfF3mDLpLm2Jj2DUrRLFw2uz1MyIH3yy0YHiANW1NQnQFfjKLhxzSsShj/ 7eH7Z2jPQI0iNVAp1UG1rxaaNtOjRSfY4Y6eDAQTvPINXPdwIWRAT1TFGftDfWhgN1UaV4O+Lvqf3 3etytYrx6bgGGPBQgw7Ahdg4j0LfCvi0ecv3BkpHSIhEqpnaQzkmdi+BECxd+ZpyBv9P5pqk5K/pv amF3YDTWJVdlawJsxCEdP4JzSFxk2dBY9oqOv1lR1AGsIHWqpIi7X2htPouA1NXBRSKWDWKqM8rNB dTUn9CpA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1mNnEi-005D3Y-WB; Wed, 08 Sep 2021 02:22:53 +0000 Received: from wout5-smtp.messagingengine.com ([64.147.123.21]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1mNnEg-005D2v-3l for linux-arm-kernel@lists.infradead.org; Wed, 08 Sep 2021 02:22:51 +0000 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-Language: en-US X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20210907_192250_227941_02F921BF X-CRM114-Status: UNSURE ( 9.57 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.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 _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel