Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp35278527rwd; Mon, 10 Jul 2023 05:21:55 -0700 (PDT) X-Google-Smtp-Source: APBJJlG7gfNJFCYEuWLZcd4wKP7+Y9VoKuyMAkiwHgc5p27psL+R9ytl5frs6+QBLX1wWyuIo4W1 X-Received: by 2002:adf:ed8f:0:b0:312:74a9:8262 with SMTP id c15-20020adfed8f000000b0031274a98262mr9337398wro.62.1688991715357; Mon, 10 Jul 2023 05:21:55 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1688991715; cv=none; d=google.com; s=arc-20160816; b=EBW6mMVyCgSYPsmjSE3BdAHKbDBgnVpdLZCtcqwBKmm4poVJQxR2F+4nO1LRrxquas zVYL44vQKuLDN4RE2DYPVOhGgir34+WeD/pS0LzYMLUECCB1WmNfTrhSoQuY+7NwKU+7 ex/lyon8AhfRNbuBbGTOca1PVA9V76+8jzDhOWRoyUyMZJn6jgPnSFaamED6rhVgjuHr /2z0RecvYLfCEBAFKYuZSx2zclSVVHIQmtlRGNKa8I1xORhcdlctTbYx/JKSIEDNnOlF Nzz8dJ7vSdkc1oc2dKEKUc67ut7G86sITu9cSUuNeTFEZtiR4GT7DNQJg2PzotpkDxIx KXvg== 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; bh=QFvZYxNyMCVgHj7QCh2XkS98rzt16Z8C8sXFP8w2KNc=; fh=Vm+Iv2NWf7ubcvlGND8Bwb2rkZT5Ga30L6pAWEqlwAE=; b=abgNrbhlYn66xOwDP/rYhkON3orq1Rc4QE7AdM4IqdcUjuAqFbtKddAEwayN8p2VrW U7f5YkJA2/RYw8H48BvIsade0R9S0jYjVx6os8L4MwbcbfRcjRprRezcRlb55WICK7HO 5c67hmX3P2zO650SNZA8eCDutRgwpgddcBTJwP0lNjiEu5h96rEGmCzQB0LrY/WVVcV3 qkKUOXQLpHqy40KxrTUn1DHTbs1RvNFf10k6uCyBe/P3y/7q/1rYImpejbm50nef4Pzt ajQe1LY8EVUwk/nDPpnlNmHOXYGFW+3jJQicF4+VztczJh792d0aAQovV0RwDAqyqcsr EDrw== ARC-Authentication-Results: i=1; mx.google.com; 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 y8-20020aa7ccc8000000b0051e1644fd3dsi9557909edt.635.2023.07.10.05.21.30; Mon, 10 Jul 2023 05:21:55 -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; 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 S231219AbjGJMNy convert rfc822-to-8bit (ORCPT + 99 others); Mon, 10 Jul 2023 08:13:54 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:55722 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231152AbjGJMNx (ORCPT ); Mon, 10 Jul 2023 08:13:53 -0400 Received: from mail-yb1-f178.google.com (mail-yb1-f178.google.com [209.85.219.178]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 83490F4; Mon, 10 Jul 2023 05:13:52 -0700 (PDT) Received: by mail-yb1-f178.google.com with SMTP id 3f1490d57ef6-c7a5600d04dso2472999276.3; Mon, 10 Jul 2023 05:13:52 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1688991231; x=1691583231; 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=oW3Yv1COYJ7dhjbm4aaIDwp8Cshq4Y+LsVT2kg49G+0=; b=KmCb9Phl5IUyTgwxf9poE6z0SEumcF0CQxQ/xcpx+CMJheQxQWQtDTEMAOkZWaJA83 y1KojSpK5xqugrSu+CxfAl1Cua3bPP8+N18XswRLgJFXKiKZcvEbQSlvVIVzQqqoUiJW Z7B86LMZpMcV4E0iuthg3bqOFEHMehMNUXHurI2D3uNwuF/XpRUpe2y5lXt5O+V+HsXt rtkj2kbuSUIC97WwVIxp3fv8AFEY1Hep/nkt4kNPh2L6fddqLbATyj15PdDYiYeobgtg cS0dDrXAFQJKM4w/x9EZ1nGF6wQ3veFdKnqapbUj6huKQh2k9YvFGw5YGxIrItA4UZeK u3nA== X-Gm-Message-State: ABy/qLY6nYgAUXJ9noa3/Js7/0Z+5RRSJgWfQELRDXhgm3FQ317DsGsT yajlEAIJjy39aIPLxDqetnZTCE4oz7CKNA== X-Received: by 2002:a25:2d1f:0:b0:c7b:f6cd:c3fe with SMTP id t31-20020a252d1f000000b00c7bf6cdc3femr3892616ybt.27.1688991231423; Mon, 10 Jul 2023 05:13:51 -0700 (PDT) Received: from mail-yb1-f175.google.com (mail-yb1-f175.google.com. [209.85.219.175]) by smtp.gmail.com with ESMTPSA id b67-20020a253446000000b00c6e5a474c00sm1916018yba.29.2023.07.10.05.13.51 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Mon, 10 Jul 2023 05:13:51 -0700 (PDT) Received: by mail-yb1-f175.google.com with SMTP id 3f1490d57ef6-c2cf29195f8so5769741276.1; Mon, 10 Jul 2023 05:13:51 -0700 (PDT) X-Received: by 2002:a25:b307:0:b0:bd5:ddcd:bc9e with SMTP id l7-20020a25b307000000b00bd5ddcdbc9emr10638267ybj.17.1688991230829; Mon, 10 Jul 2023 05:13:50 -0700 (PDT) MIME-Version: 1.0 References: <20230710063351.17490-1-frank.li@vivo.com> <20230710063351.17490-8-frank.li@vivo.com> In-Reply-To: <20230710063351.17490-8-frank.li@vivo.com> From: Geert Uytterhoeven Date: Mon, 10 Jul 2023 14:13:38 +0200 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: [PATCH v2 08/11] i2c: sh_mobile: Use devm_platform_get_and_ioremap_resource() To: Yangtao Li Cc: Wolfram Sang , Andi Shyti , linux-renesas-soc@vger.kernel.org, linux-i2c@vger.kernel.org, linux-kernel@vger.kernel.org Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 8BIT X-Spam-Status: No, score=-1.4 required=5.0 tests=BAYES_00, FREEMAIL_FORGED_FROMDOMAIN,FREEMAIL_FROM,HEADER_FROM_DIFFERENT_DOMAINS, RCVD_IN_DNSWL_BLOCKED,RCVD_IN_MSPIKE_H2,SPF_HELO_NONE,SPF_PASS, T_SCC_BODY_TEXT_LINE autolearn=no 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 Mon, Jul 10, 2023 at 8:41 AM Yangtao Li wrote: > 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: Yangtao Li > --- > v2: > -s/devm_platform_get_and_ioremap_resource(pdev/devm_platform_get_and_ioremap_resource(dev Reviewed-by: Geert Uytterhoeven Gr{oetje,eeting}s, Geert -- Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@linux-m68k.org In personal conversations with technical people, I call myself a hacker. But when I'm talking to journalists I just say "programmer" or something like that. -- Linus Torvalds