Received: by 2002:a05:6a10:16a7:0:0:0:0 with SMTP id gp39csp222227pxb; Mon, 2 Nov 2020 19:47:06 -0800 (PST) X-Google-Smtp-Source: ABdhPJzsivxo9qME3EmqPqP0fa+GCEQt4p3jATQt+eACfqqmTQRn0n7KD+g4iuGOpv7VDa31f8Jl X-Received: by 2002:a50:bb25:: with SMTP id y34mr19235184ede.249.1604375226373; Mon, 02 Nov 2020 19:47:06 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1604375226; cv=none; d=google.com; s=arc-20160816; b=Luj0iBu7soiu48mEipNoTxgF6c56BrV62QCgFLtrXGGBuLL4KEQn4whdvT3Dxh1ZNp kiC7sUD6WodqI8pZNv7U20m4xqEIc/sLafwtRMPOXfwEI1SkaD5VSwcZ01EDseH8WE5q IWzkQDn48idWJSodj2IWFPg6JeV8J43LTCyMb90rLLaWCB4TGGeUxGMBRlPp9Kdnixzw 3Cwa0pimmEKlOcO9AmC/AdPrDqI79LBi3gv2iJuoNa3tM88sjdQpa++vHEBQP1R6wSce auXEf7QUlX7pu2J3lh4w+Hace/KVJCu9d4lDs/VDPZwDrFBz/6XHb0Tc8HdJxG2kVbGR BoDw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:message-id:date:subject:cc:to:from :dkim-signature; bh=IGkYOr9kSv+H7KKb1R+3g8Au75L2WHkbPO9Zo0okLME=; b=0k187f9o7BVSLjJeUyNBH7gXTWkImEC/RbEIT7/ElmNyoxDXB32Jdd50X2MRmSh2K/ 2fKwHUzL5WkXk7aIEZXnJY1m7Uze75Zdb44vQGQsW9DIpYHHkfvbzxyhhdgzZpZvgFIj eZ2pbP5+cXO9SkLE+a/rHDyzA1JhXx1mdQhLgvzxUpNriXQzMRFdkt4FiD+08FyT1WtV 9/J/WLPxbqihK0TtD7acM/9A/Ls9gzUR4wyslcuDzaUAVBWSiU6KG0REEwnlw+la517Y whTsQaXmMYEVm/m6NUJPEUc70dd/HR1AmwJUeHCiaGz0dsKSi+K1f2TmbTai5/XTbUZn jUGA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=cLTkCxeR; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id k1si15998826edf.460.2020.11.02.19.46.42; Mon, 02 Nov 2020 19:47:06 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=cLTkCxeR; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726042AbgKCDpU (ORCPT + 99 others); Mon, 2 Nov 2020 22:45:20 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:60066 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725940AbgKCDpT (ORCPT ); Mon, 2 Nov 2020 22:45:19 -0500 Received: from mail-pf1-x441.google.com (mail-pf1-x441.google.com [IPv6:2607:f8b0:4864:20::441]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id C0EAAC0617A6; Mon, 2 Nov 2020 19:45:19 -0800 (PST) Received: by mail-pf1-x441.google.com with SMTP id 133so13015773pfx.11; Mon, 02 Nov 2020 19:45:19 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id; bh=IGkYOr9kSv+H7KKb1R+3g8Au75L2WHkbPO9Zo0okLME=; b=cLTkCxeRjb3wVXVo1lpclGWmt9YKgfJcJbiANuIetykCQ7pWCJ104yyEBWS6MfTjse SXCOj2zMXkV18XmSB4QO2wOqKj4pp/0sYMrm5Gx8xjJ9V5hrkV74JUh0/eSQdLma22UB pcW2+HYh0tWumbCknlkYMou/uBPoFqqi11kddz+2NURvljua3nIQr5mZeZkrGTlvlDO8 lADEenOst+6g5O3TfIywtfuZXgq+ojyrXdlAc38Kzj/eTeXioL3EX0HY2URFAkQOnCRR T92d2Q1+7jrw3xluU3aSbY2POG+EvTPoiaKUzRgZji7QRN2e1Oh1GYIiKtYi+A98lre/ 700A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id; bh=IGkYOr9kSv+H7KKb1R+3g8Au75L2WHkbPO9Zo0okLME=; b=nnVvuRtenHiBTCdlYJGzwZTLB8PzCHW18vhuLyVxnHV40Q3V9tImY8dYAhZkkdw8rw XXY4Mnd8QPOlL/E2Fsstr8GMUeuStF56epuBQNvfjXTqppIhM85zriJ/wf52dDMPUsEn gjwwLeGYqhMhT5Y0MZSBXiVQ31flYKv4cm2F42+j33MDJeKtqDnkoazomCXeMiqkZ/z4 GkA3/uvvKYTTL8L07wQIUYwTm6Wf9MdOEmIqHkBlKlhZC2AY8a+wsixN9GznVXs6I7Z8 tUi+XzRTaC+PZFpgjDKyOUfXgfuZmTli5CEYir7I35fQ/2Vj4BjDLRSB0L1nb663frwy opvQ== X-Gm-Message-State: AOAM530wgzwVe4Ibyb8h3kbNvC+QMIoAIJplT7tZgEl90gA3FmOYCmZy W7HUTnaKsFV4XYQ8D6WlI1g= X-Received: by 2002:a17:90a:9313:: with SMTP id p19mr1623992pjo.90.1604375119313; Mon, 02 Nov 2020 19:45:19 -0800 (PST) Received: from localhost.localdomain ([8.210.202.142]) by smtp.gmail.com with ESMTPSA id v196sm7957248pfc.34.2020.11.02.19.45.16 (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Mon, 02 Nov 2020 19:45:18 -0800 (PST) From: Yejune Deng To: geert+renesas@glider.be, mturquette@baylibre.com, sboyd@kernel.org, p.zabel@pengutronix.de Cc: linux-renesas-soc@vger.kernel.org, linux-clk@vger.kernel.org, linux-kernel@vger.kernel.org, yejune.deng@gmail.com Subject: [PATCH] clk: renesas: rcar-usb2-clock-sel: Replace devm_reset_control_array_get() Date: Tue, 3 Nov 2020 11:44:53 +0800 Message-Id: <1604375093-6451-1-git-send-email-yejune.deng@gmail.com> X-Mailer: git-send-email 1.9.1 Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org devm_reset_control_array_get_shared() looks more readable Signed-off-by: Yejune Deng --- drivers/clk/renesas/rcar-usb2-clock-sel.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/clk/renesas/rcar-usb2-clock-sel.c b/drivers/clk/renesas/rcar-usb2-clock-sel.c index d4c0298..3abafd7 100644 --- a/drivers/clk/renesas/rcar-usb2-clock-sel.c +++ b/drivers/clk/renesas/rcar-usb2-clock-sel.c @@ -160,7 +160,7 @@ static int rcar_usb2_clock_sel_probe(struct platform_device *pdev) if (ret < 0) return ret; - priv->rsts = devm_reset_control_array_get(dev, true, false); + priv->rsts = devm_reset_control_array_get_shared(dev); if (IS_ERR(priv->rsts)) return PTR_ERR(priv->rsts); -- 1.9.1