Received: by 2002:a05:6358:11c7:b0:104:8066:f915 with SMTP id i7csp998940rwl; Wed, 12 Apr 2023 07:04:20 -0700 (PDT) X-Google-Smtp-Source: AKy350bxVVW/P7OdZ+ueXSvIPiRK8b0vcFamuJ919h9ICRfvFPPIpyx2Js8tlH4CiwSfqI4rMWZp X-Received: by 2002:aa7:9ec8:0:b0:626:6a3:6b81 with SMTP id r8-20020aa79ec8000000b0062606a36b81mr21071854pfq.15.1681308260360; Wed, 12 Apr 2023 07:04:20 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1681308260; cv=none; d=google.com; s=arc-20160816; b=Cc7vr6HCl0e+KsVxRlXyvdI7AAU9EPUycvI9MQtrHEmNmlEcalF3f4hLU9GUK+hDOe EPAPveFwVMK0+tXx2odLZ5b+x5qG/BQeC750ApgoN7JqMSoL/Z/e+SQPCVfY0Tt0+jfY eibRH0Eh5nA3x4+I6Kr5i4KuQjLT6DcGTpKpr9IPk+6siMmGZMrjdHdZDG6JatPHlQYe wx0Nl3U+/9cqtilZC38UE1bfDR4o5N0mL82Yy9T/X6JLhMOMx30KmrIG840wKkT9MxIX QdPExJELvqgdZAE4QY5xN9iwNPiLXTuHEDpaxw2+HcrKUpmCg+7VwwG7Wkijzch951qb kcvQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:in-reply-to:from :references:cc:to:content-language:subject:user-agent:mime-version :date:message-id:dkim-signature; bh=Bb6P2byqyLNvxYx5mpnu/HADSn0CeAL5J6+dhakFGrg=; b=Qxe2N3GhWdjcao71QZtGI7z4eLOKAWy1rJJuOlop0lQSc/Zrx3Ad4e+b5EBkuLih0d 8+cKItIU99KXNR4WtZctSgTVDUFTtk8QYuTED7s7OJTIxmSN9jjp6FXzNCZwBNmTHWWx nAlxk/YRpkW5P2jUOdn/CNaAhiJGERSwCuEdk9wva+mP3W/ENux20BRk7LDNtA1USnLs 2p+JUlR5FZhe/uYJ/s+ugoQiiuB/uiovuZ3ndT4HRlGPyMSBIgSza0FrhVkqJQFG73Cz hQrUe5cqmNUgPUt3tbEzToABmir5Ur0vHg5cIVOB6+2euNj85M2T5axb1eaId4aLe2Ev liWw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@baylibre-com.20210112.gappssmtp.com header.s=20210112 header.b=P+Olpx6A; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id bv68-20020a632e47000000b004fb850691adsi3839238pgb.718.2023.04.12.07.03.52; Wed, 12 Apr 2023 07:04:20 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@baylibre-com.20210112.gappssmtp.com header.s=20210112 header.b=P+Olpx6A; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230267AbjDLNtZ (ORCPT + 99 others); Wed, 12 Apr 2023 09:49:25 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:51614 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229701AbjDLNtX (ORCPT ); Wed, 12 Apr 2023 09:49:23 -0400 Received: from mail-wm1-x330.google.com (mail-wm1-x330.google.com [IPv6:2a00:1450:4864:20::330]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 3AF4F1705 for ; Wed, 12 Apr 2023 06:49:22 -0700 (PDT) Received: by mail-wm1-x330.google.com with SMTP id v20-20020a05600c471400b003ed8826253aso2413742wmo.0 for ; Wed, 12 Apr 2023 06:49:22 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=baylibre-com.20210112.gappssmtp.com; s=20210112; t=1681307360; x=1683899360; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:user-agent:mime-version:date:message-id :from:to:cc:subject:date:message-id:reply-to; bh=Bb6P2byqyLNvxYx5mpnu/HADSn0CeAL5J6+dhakFGrg=; b=P+Olpx6A3/vNNZTdwI1G9eweBEoTH2LcwW2usLoVzpvOgrv5iZZ+KFMS27g/J/nfqZ reVa1Zx0lcjz6/7AlgdAny5ttEg1/A8/XSCvh2l7OO2rKzCVgRxHBPkkemKIOni+lCny 1THlxhFeo2QlJMDkwR0f/NFAEgK1tfH/W+ftLtUkhnUkFrRnyqeBhWwbh6g6ZChXZS8s HI7sgOh5GakN3NTsu2jN1Z8PWH55G04Rj6Whp8gqyK4cGvTzgM+FgKSZT5UUCB/Ye6W7 BWa3lO6jD0+wwjP/KXSgknZEQUIMW5tR2eS+YesJAdlkZt8k8+BlQiVYPZ8zhiccPFSJ vCwA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; t=1681307360; x=1683899360; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:user-agent:mime-version:date:message-id :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=Bb6P2byqyLNvxYx5mpnu/HADSn0CeAL5J6+dhakFGrg=; b=pyBsjkCsn5hXRCr3ZwYOCXujhAdsOFbEmp32w5gyXAdYcGtvraB+HB/po2i6G0tiaT 0H9TBzj7vAdckIJWV+NepKbOdKBeyFDRBJn6o+zKnT5wPhSjX+wb9QTBYm5a8J6KqGp/ 8pWH+9EkbKV4Ail/ysIakg6y0sEj3aDjIfvjb09c3TQSMPDFyQLpkpA8LyZgW8roAtoG isz6tx0KwoQceoQqIDw4QcWKIqUD15L+qdxK7/PklNsgwwiUdgfNPfHJG74DnaS3FTiN Qf7pavHYZ+RfLknN9yxtPY9ED2UlK79Qq+B4JkkNRYQRAWl7gJmtYR9HG3u71u/CNnKv a/tQ== X-Gm-Message-State: AAQBX9e/EUPHnkG/NepZ++aH9nOs7rqi80C9tTAIbkfZ2vZTwxgcyoHu r+AqqjW3c0SW+Rq/QOvdTA2FuA== X-Received: by 2002:a7b:c7d4:0:b0:3ef:68d5:9573 with SMTP id z20-20020a7bc7d4000000b003ef68d59573mr4733356wmk.19.1681307360680; Wed, 12 Apr 2023 06:49:20 -0700 (PDT) Received: from [192.168.1.172] (158.22.5.93.rev.sfr.net. [93.5.22.158]) by smtp.gmail.com with ESMTPSA id o24-20020a05600c379800b003edd1c44b57sm2451789wmr.27.2023.04.12.06.49.19 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Wed, 12 Apr 2023 06:49:20 -0700 (PDT) Message-ID: Date: Wed, 12 Apr 2023 15:49:19 +0200 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.9.0 Subject: Re: [PATCH -next 2/3] drm/mediatek: Use devm_platform_ioremap_resource() Content-Language: en-US To: Yang Li , airlied@gmail.com Cc: daniel@ffwll.ch, matthias.bgg@gmail.com, chunkuang.hu@kernel.org, p.zabel@pengutronix.de, angelogioacchino.delregno@collabora.com, dri-devel@lists.freedesktop.org, linux-mediatek@lists.infradead.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org References: <20230412064635.41315-1-yang.lee@linux.alibaba.com> <20230412064635.41315-2-yang.lee@linux.alibaba.com> From: Alexandre Mergnat In-Reply-To: <20230412064635.41315-2-yang.lee@linux.alibaba.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-3.0 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,NICE_REPLY_A,RCVD_IN_DNSWL_NONE,SPF_HELO_NONE,SPF_PASS autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 12/04/2023 08:46, Yang Li wrote: > Remove variable 'res' and convert platform_get_resource(), > devm_ioremap_resource() to a single call to > devm_platform_ioremap_resource(), as this is exactly what this function > does. > > Signed-off-by: Yang Li Reviewed-by: Alexandre Mergnat -- Regards, Alexandre