Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp3668249rwd; Sat, 10 Jun 2023 12:06:53 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ7ewvj2gR31bFaZlPEoIgHMzN8RFN4cynLM5OL3ZjMIcKKBk2bWKAVnQIzPJ51C5CZRSPos X-Received: by 2002:a05:6a00:1803:b0:647:157b:cb61 with SMTP id y3-20020a056a00180300b00647157bcb61mr5998129pfa.7.1686424013163; Sat, 10 Jun 2023 12:06:53 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1686424013; cv=none; d=google.com; s=arc-20160816; b=hOoMQYjFt/3QmGPEJnQ19aWbWK6MgSOjhFPqdhr9ocVFDtehLPMdxriP67W5VQ1NSL 0p/VcduQSWq07KLDlXIi4gh34cp3ow40V6iyjD8dzoR2xqrHu8x1UAeL3ihx5ReXNqUQ irZ3wV+opiQDD+GnkKb1W0cXAL4O8bqLYV3ixjR6pyFyDvLzS3h8ZYDo8jaKERy88lCd KjktquzI3EwO4RM5VwZ4Li+KJi2YiOBU+pNpAQuDfo3mkXjdCSBIWWNOOepCyenPccZA Ba9fADrddQbE+e2Gk7ctEK+4e7JhT3EuS1B9Sop/diKRwaQ4vS20ChetSjB4stGZQx6D 19KQ== 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=QM+qubxwEUOMq3TvmNZKSOIB4E6pfQOK/UfK6GmsEtI=; b=csHZ1YIlx9DVMsvPm693EFBAiPpq/XpWiKSQDWPpJtNHZctUoWrCEBNdAisN/duCca IMMjnPF3oJQ5F1oYTwS1lta76OCTm4nX5Ajj5S2LMhScp7HazQ42sNIi/U4CexF38Pyb bJHR2du1A3so9aZleYbEQ0dVnR6J0+YPgIwlTomieda9dDhKQ38AR7oP3Hn6julkSiQx lMjZKNgDmKpq/Jv2aUAIpZDDTKJB9R3xMrYz9xZ7/lxa0jTdp5upso0W2JsRG3yCxrjm aXr5C25T4COEddzjUbzdWyeNgzj+mv4BQZNWFOslxTbRvkZ1KM+Ud9FeSAhAjB5hjAlz etVA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=i5Du6R+L; 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 k2-20020aa79722000000b0065ef9f22da9si2347125pfg.19.2023.06.10.12.06.41; Sat, 10 Jun 2023 12:06:53 -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=i5Du6R+L; 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 S229622AbjFJTBl (ORCPT + 99 others); Sat, 10 Jun 2023 15:01:41 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:54392 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229483AbjFJTBh (ORCPT ); Sat, 10 Jun 2023 15:01:37 -0400 Received: from mail-yb1-xb32.google.com (mail-yb1-xb32.google.com [IPv6:2607:f8b0:4864:20::b32]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 2E93D30F8 for ; Sat, 10 Jun 2023 12:01:36 -0700 (PDT) Received: by mail-yb1-xb32.google.com with SMTP id 3f1490d57ef6-ba8cd61ee2dso5742214276.1 for ; Sat, 10 Jun 2023 12:01:36 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1686423695; x=1689015695; 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=QM+qubxwEUOMq3TvmNZKSOIB4E6pfQOK/UfK6GmsEtI=; b=i5Du6R+LrifxAu/L0KPvPnpED5A/YRXwo1rnUhdSvooPZzS/wsJ+1fNtY4S+WiM//5 U4UJ1ZuNm3itfoE5kgofedqqXBMd3/mR0A/jEdRpZJBAlT3FxDL3iys0nOJrQu1Xt3Dw K6da1jpG0N4M/iiljf0l+hUTsAq4lJh3qYP5m8zp50swJH0btgyROo2UuaPiDfL6wiki gYVU+j8VtqUD0g6mph1A81n2WKUyIoRzPwXKiN26LZyxC9nC5DWkz21nWlA6MuJLiRCe +FaPGuEc2PZL6yGZ5dDGvUOIj2/xiN2d4Ml63xF2oYn6IfJo2JJtJfV4IEJZH9au/CJZ p3uw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1686423695; x=1689015695; 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=QM+qubxwEUOMq3TvmNZKSOIB4E6pfQOK/UfK6GmsEtI=; b=c0aY1ZKynob5kBXyo82leYhYoPm3ipT+CQVba6iZOOGW40+dKq7sQuMzwQRYN4qZy8 GPa+VPCw+Pbz5uNknYKAvgropZ6oQodDhBL0XULs5w9zT3ergKpSqz/4NAtmAh9MSBeU 2dY/w4D/Q9um7T3Dg+zPOdZKlW2RCNOJbMofQSuNVbDm2dRSYIPGdSwanUsJepkXVysO zBAvQkUVEbc2K2ApHrly5EDQOQqXlBirDxNlNYfvRkcFzXgGaNjxrEIf1s+RFM3LD4cn 1LPUOQXdvk1U+I9/B4q9z7M3E233/zMlxB1E+6QuR0mUWEDGCUGoyJ24j1+GDjBQln2z B04Q== X-Gm-Message-State: AC+VfDzNZF5WCYNSvyR5STrqHTtNGDVVHwiEOJuUSif0xMZVbQKoEpbd UniyxrgAwvYluEGyDMgkqvGdhN738R4MOpvrUQo9gQ== X-Received: by 2002:a25:1e54:0:b0:bad:6997:be19 with SMTP id e81-20020a251e54000000b00bad6997be19mr6503307ybe.1.1686423695390; Sat, 10 Jun 2023 12:01:35 -0700 (PDT) MIME-Version: 1.0 References: <202301191721230148862@zte.com.cn> In-Reply-To: <202301191721230148862@zte.com.cn> From: Linus Walleij Date: Sat, 10 Jun 2023 21:01:24 +0200 Message-ID: Subject: Re: [PATCH] i2c: versatile: Use devm_platform_get_and_ioremap_resource() To: ye.xingchen@zte.com.cn Cc: linux-arm-kernel@lists.infradead.org, linux-i2c@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,URIBL_BLOCKED autolearn=unavailable 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 Thu, Jan 19, 2023 at 10:21=E2=80=AFAM wrote: > From: ye xingchen > > Convert platform_get_resource(), devm_ioremap_resource() to a single > call to devm_platform_get_and_ioremap_resource(), as this is exactly > what this function does. > > Signed-off-by: ye xingchen Makes sense. Reviewed-by: Linus Walleij Yours, Linus Walleij