From patchwork Fri Aug 30 06:32:24 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jinjie Ruan X-Patchwork-Id: 13784349 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org 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 smtp.lore.kernel.org (Postfix) with ESMTPS id 51F6BCA0EE1 for ; Fri, 30 Aug 2024 06:27:16 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender:List-Subscribe:List-Help :List-Post:List-Archive:List-Unsubscribe:List-Id:Content-Type: Content-Transfer-Encoding:MIME-Version:Message-ID:Date:Subject:CC:To:From: Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender :Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References:List-Owner; bh=30nHfKeY7MWHH85WZw1LkM7E2I3gjbJKuKeAh3Ev5og=; b=yBbrk+QXZKvzWbttHu1FCLTU0x I7YbrZT+VADYrTJ4rcvC8WROeC2A5cUkWeekpxGdXNoCvEQct/twG5MRY1WMJ0EJEebCsLZJo5HQP Y4yD5wM33xtUYrDO+YpQIhJNs56JkVC0R/ybvR7A4y7ESyTz9rHJrajSvfqzPDr2Aa9V1npSVwapI ixfU3NRsaf9S24tl0IPvAb28hbRZ9Wa7b5Vkzi/X6/NaRXJcpKBAVCaMwciGXGkTfsJh+7sMuR2d2 IwYObr/KPNijwjx0DGYTJBq2grMeCk0ESzcNcvFQLuAU0Zo4OgB+wwrX+pKc67ZN2SUzZ+1V4iE91 YSHPereg==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1sjv6B-00000004wPW-3XBj; Fri, 30 Aug 2024 06:27:07 +0000 Received: from desiato.infradead.org ([2001:8b0:10b:1:d65d:64ff:fe57:4e05]) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1sjv3y-00000004w4V-2zUk for linux-arm-kernel@bombadil.infradead.org; Fri, 30 Aug 2024 06:24:50 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=desiato.20200630; h=Content-Type:Content-Transfer-Encoding :MIME-Version:Message-ID:Date:Subject:CC:To:From:Sender:Reply-To:Content-ID: Content-Description:In-Reply-To:References; bh=30nHfKeY7MWHH85WZw1LkM7E2I3gjbJKuKeAh3Ev5og=; b=bmmmsD2HCxl6fC6Pf9fmaNaSeM 3+isDkOTwFOI7JDgEPnxYYsycQ7eN8HYvUUHa+KyosLZbTq6paO7+igUZpI/3p39LfAvsClfvEbPO 6Hf3WPoPh01SFWhZ5nXEjlfvtUFrFrXr9P773XhXpKFC+zxie5RFIylK32qyi6mqeWKg/AwaArtrm CRUgsLWW+OqyzXRjPASCku1sQ2BpLZQ/R8wmaJx6D1bMIjdJgOO8BQOYI88WYzP0rIOljH/5aPeII wfL5wdcmC8K8rL0edTHp/elbU9EARrnMkhfjRRt0bsG/D+zjCaekcsjVH4dM5KU0kKVS/eCboYw/0 FmrKmjwA==; Received: from szxga06-in.huawei.com ([45.249.212.32]) by desiato.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1sjv3n-0000000Ba8t-2daI for linux-arm-kernel@lists.infradead.org; Fri, 30 Aug 2024 06:24:44 +0000 Received: from mail.maildlp.com (unknown [172.19.163.44]) by szxga06-in.huawei.com (SkyGuard) with ESMTP id 4Ww7NZ5Rjwz1xwPk; Fri, 30 Aug 2024 14:22:22 +0800 (CST) Received: from kwepemh500013.china.huawei.com (unknown [7.202.181.146]) by mail.maildlp.com (Postfix) with ESMTPS id 3841B14011D; Fri, 30 Aug 2024 14:24:21 +0800 (CST) Received: from huawei.com (10.90.53.73) by kwepemh500013.china.huawei.com (7.202.181.146) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.1544.11; Fri, 30 Aug 2024 14:24:20 +0800 From: Jinjie Ruan To: , , , , , CC: Subject: [PATCH -next v2 0/4] soc: ti: Simplify with scoped for each OF child loop and dev_err_probe() Date: Fri, 30 Aug 2024 14:32:24 +0800 Message-ID: <20240830063228.3519385-1-ruanjinjie@huawei.com> X-Mailer: git-send-email 2.34.1 MIME-Version: 1.0 X-Originating-IP: [10.90.53.73] X-ClientProxiedBy: dggems703-chm.china.huawei.com (10.3.19.180) To kwepemh500013.china.huawei.com (7.202.181.146) X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240830_072440_636585_23432ADA X-CRM114-Status: UNSURE ( 5.47 ) 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: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org Changes in v2: - Rebased. - Split from the whole soc patch set. - Split Simplify with scoped for each OF child and dev_err_probe(). - Update the commit message. Jinjie Ruan (4): soc: ti: knav_dma: Simplify with scoped for each OF child loop soc: ti: knav_dma: Use dev_err_probe() to simplfy code soc: ti: knav_qmss_queue: Simplify with scoped for each OF child loop soc: ti: knav_qmss_queue: Simplify with dev_err_probe() drivers/soc/ti/knav_dma.c | 16 ++++-------- drivers/soc/ti/knav_qmss_queue.c | 45 ++++++++++---------------------- 2 files changed, 19 insertions(+), 42 deletions(-)