Received: by 2002:a05:6358:9144:b0:117:f937:c515 with SMTP id r4csp4376220rwr; Mon, 8 May 2023 06:58:55 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ58n51mb5Ai88BukWnFQ8p/Z1YvRAxvSK0FMrnEZ34ASijkP/HLhP+xGRe1VDgCk3Bxz3Ra X-Received: by 2002:a17:90a:3485:b0:247:2d9d:4722 with SMTP id p5-20020a17090a348500b002472d9d4722mr11108039pjb.0.1683554334947; Mon, 08 May 2023 06:58:54 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1683554334; cv=none; d=google.com; s=arc-20160816; b=R13xsRscyo4FmXicOFGsWfERl+GmNYTYfP/DHSdwHWqcS3qVYVwnZpFxig4VAihBU/ RVoSVfsU4E4vWXtbFDE++ezb1XVbQqg3Q8hm2CHS5wigVO6OiJZQizjBAF9ZV66igJsy TKQmVWF3rPVqHQRI2LYGfony6bTGKHF1kJyfI9p+YnAXsvIvwfqXB5PKeUYb2YeYnRpt n2bSjHKP6AzfSTZEL+s5obG7yhViLW/EZz/4yt3KP/nbTsnjDZ13yXzGRLhIA0PjLRMF +Zc/St9Z2EoGS3/RstNOx9PDAtn3xv8yCZwlqiNx9dGptbWMtBnMfphcniSIh/X9O/1I Tk5w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:cc:to:subject :message-id:date:from:in-reply-to:references:mime-version :dkim-signature; bh=/b01PDYfJqd1yLDl8EB7zSyMERkrPn+OwVMQORzGUbc=; b=Ad6QY4T+c6N+DqF3cZSNvHcAW8I5Ax1dhj4awyOS3kVjYSyBZQnTVrEzEnrJ7FPlmu yFtzVJ+bsJiw+dcDvuYWcyMMB9gMpAazZl+hYNjtZfpnMj4O6hHBgvs+zH4BSuGH3HyU bCoTL+W+Bmll3hSU6rWpHmVO5c+PGsbf69cYbH3z1B3BVrQXj14LdqZtDXA9zpFm3rTE PcyHCeXY9JUDss+bKDJNm0VywhjG2YytL3ntq0a7ChQyy49rP3atv5NEKZ7Er8BfmbAO YYHEk4eUIKY8Q8A0/vQlD2pjT/eftwiFhPKKxQ5NLSjO18cnrwA7sBrQDIbrc/4yobrH H0mQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b="nEVav/Fs"; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id v6-20020a17090a520600b00246bb27b5ffsi12351282pjh.109.2023.05.08.06.58.40; Mon, 08 May 2023 06:58:54 -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=@linaro.org header.s=google header.b="nEVav/Fs"; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234265AbjEHNgM (ORCPT + 99 others); Mon, 8 May 2023 09:36:12 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:52652 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234291AbjEHNgK (ORCPT ); Mon, 8 May 2023 09:36:10 -0400 Received: from mail-yw1-x1136.google.com (mail-yw1-x1136.google.com [IPv6:2607:f8b0:4864:20::1136]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id F0D682FA3B for ; Mon, 8 May 2023 06:36:07 -0700 (PDT) Received: by mail-yw1-x1136.google.com with SMTP id 00721157ae682-559e53d1195so64969017b3.2 for ; Mon, 08 May 2023 06:36:07 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1683552967; x=1686144967; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:from:to:cc:subject:date :message-id:reply-to; bh=/b01PDYfJqd1yLDl8EB7zSyMERkrPn+OwVMQORzGUbc=; b=nEVav/FsigMrHRGJ87udNWnlSpzHXwvmWMdc8wW2XITf4OLHTmRMeN4hHZcboFOpJy tU1XXJMvUMV1C7Qp4TUtWu2BVpLpuKXrnku4yvUufCg4pCcCwysehOA5E0izZcMGg9OS EitiGRp+Z5YrVyHQ3H1f8C8RWrNa60GOIvvHTvPJCb/3VI56Lg0spoqPLINi86fGgQwJ 7LAVenbLJ3MvtRW24PbV6xjZeQN5ZC40OFF1dNSsoKgqjDQqV7aC8MDRKAVszTQSLA/X +QI1a2hx6hiCUdHhvQTFWHFKWSgqFFwJL31JrhKCaSQdY81PoHnGk8HG5vxlqe27FnCT WYjQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1683552967; x=1686144967; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=/b01PDYfJqd1yLDl8EB7zSyMERkrPn+OwVMQORzGUbc=; b=Y18eg0Yu9lcUqo1f0E4m14BnMX7m0iRiQL75df+lZqfIQVl+b/8pFU3BGDZ7qYPXBt /8q4VHMt5h89GnlPwtHRtaZTUQXn8JAAuFGo9rdb61euSLmiNKyjfE91c85qoLsgWser 83cgIk0fIszuzFN6LvgwssPaESNpiHAuUBxgl+SIr6dQC3YLcgAl7w1WuyVEHwZ8p2f+ wf6HLX1MMoQ3p4t7nHkMP734gbjh09IO+u7+Ew+H/6xlZhvjMv6fD0fkEZ0W500j75cL tOPHTjoahGH3t3uuwF5kwEzqrrFLdi44MoU3XQ0IjOuRB7pcmRu1AAP5BFK03wD7/2kS TLcQ== X-Gm-Message-State: AC+VfDylw8Q4z8nAC6hRSPuXevbWOYM70M60HTm1YXmsk+BUXOkYJ39o Mfgunco8LoRvMuAy1mN1YugBpNl66ic+Nmo0EqLMDA== X-Received: by 2002:a81:a091:0:b0:55d:1c72:e1de with SMTP id x139-20020a81a091000000b0055d1c72e1demr11788038ywg.37.1683552967033; Mon, 08 May 2023 06:36:07 -0700 (PDT) MIME-Version: 1.0 References: <20230430125154.126863-1-saraday@hust.edu.cn> <20230430125154.126863-2-saraday@hust.edu.cn> In-Reply-To: <20230430125154.126863-2-saraday@hust.edu.cn> From: Linus Walleij Date: Mon, 8 May 2023 15:35:56 +0200 Message-ID: Subject: Re: [PATCH 2/2] bus: qcom-ebi2: simplify the code in qcom_ebi2_probe() To: Ziliang Liao Cc: Andy Gross , Bjorn Andersson , Konrad Dybcio , hust-os-kernel-patches@googlegroups.com, Dongliang Mu , linux-arm-msm@vger.kernel.org, linux-kernel@vger.kernel.org Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_NONE, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE 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 Sun, Apr 30, 2023 at 2:54=E2=80=AFPM Ziliang Liao = wrote: > The code use platform_get_resource() and devm_ioremap_resource() to > allocate memory resources for the device. It can be simplified by using > devm_platform_ioremap_resource(). > > Fixes: 335a12754808 ("bus: qcom: add EBI2 driver") It doesn't need Fixes: if it's not a bug, but who cares. Maybe the stable maintainers care. > Signed-off-by: Ziliang Liao > Reviewed-by: Dongliang Mu Reviewed-by: Linus Walleij Yours, Linus Walleij