From patchwork Thu Oct 20 10:31:16 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Dmitry Baryshkov X-Patchwork-Id: 13013019 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 vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 6EA8BC4332F for ; Thu, 20 Oct 2022 10:31:35 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229751AbiJTKbc (ORCPT ); Thu, 20 Oct 2022 06:31:32 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:42174 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229973AbiJTKbY (ORCPT ); Thu, 20 Oct 2022 06:31:24 -0400 Received: from mail-lf1-x136.google.com (mail-lf1-x136.google.com [IPv6:2a00:1450:4864:20::136]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 1400F31379 for ; Thu, 20 Oct 2022 03:31:23 -0700 (PDT) Received: by mail-lf1-x136.google.com with SMTP id bp15so32770325lfb.13 for ; Thu, 20 Oct 2022 03:31:22 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to; bh=nvzETyi58I2x9C8Q5sGM2W1oTSNPE/0QRrBwTJYfW7U=; b=bA9atUmGBhZXLqKhBlql+4s+YeTtyKqzxMtEjU5krKJI797Zk52xr9A+t5WK1aDSxG raf7noTQxTDgDfbTw04M9d9TL4A+sJA3x3oMlaaHduaRTYT+ZgcMOip8CaRdQ5U33Ulv 9f6eOIwyl6wCV56bnAXoTmyBAtaltwR1knBEkyawU33g+QOmlGmN4i2w86vbtDFjkQM5 ELeab+emvLzcPGdsr0hlIhil5u6z8huIxbaviAdSculy5CEcQFKV6oPR5BerqG5rfpMH 61vgtEpqCVLwzKA7nzkhQ8p5QBfO9dFvCTNINwGL+ZnkUZzvbvqRLacAyasdP+yXtP+m a+CQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=nvzETyi58I2x9C8Q5sGM2W1oTSNPE/0QRrBwTJYfW7U=; b=bW7wDPwfWWK1pOBaEeryDxelcHRkDrUIGc52lUU9o4ZNdoVPm2MgOk9crF9djcrra/ WLB3Fbkz6ZG6LRnbPg3i6WHUunf3UPBtHR3GrEdJbkktSvD9xd6bc7jw14L0SD4dHA05 HM9rZB+OxQ8ywbrtc1JgH72qIQbY19yxy3obXMmyK/c1kUwMnmyyVLAZkt+txo4XLsSw typNwk55U2xWdzWgZhPY56ABmhMHwbAS4Iyhwr5yUW0rhT9cvk1qQLYNsWfp1xi6LOm6 dbsLG2Y8tp145DS3zgPNtkTPYSKUhwkDqVDne1pJHXKv/AqK4ivYC3wYRg8qEl/JPfEe cZlw== X-Gm-Message-State: ACrzQf2htTQuuYVVoJQ+oRcMlg7i2B1HsoygXDgnWtAtq79557jbqC5h PnLAWJrJZpjlIi+OI/Xcjkza0g== X-Google-Smtp-Source: AMsMyM7A6+ghP51jtjrPCu23VMI7EuEmnEGZYJVmwSboOMIFdgjTvievr2lO7TEaRt36YyFauhvhqQ== X-Received: by 2002:a05:6512:114a:b0:4a2:58a3:95f2 with SMTP id m10-20020a056512114a00b004a258a395f2mr4710665lfg.7.1666261881316; Thu, 20 Oct 2022 03:31:21 -0700 (PDT) Received: from eriador.unikie.fi ([192.130.178.91]) by smtp.gmail.com with ESMTPSA id l2-20020a2e3e02000000b0026be1de1500sm2829019lja.79.2022.10.20.03.31.20 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 20 Oct 2022 03:31:20 -0700 (PDT) From: Dmitry Baryshkov To: Andy Gross , Bjorn Andersson , Konrad Dybcio , Rob Herring , Jingoo Han , Gustavo Pimentel , Lorenzo Pieralisi , =?utf-8?q?Krzysztof_Wilczy?= =?utf-8?q?=C5=84ski?= , Bjorn Helgaas Cc: linux-arm-msm@vger.kernel.org, linux-pci@vger.kernel.org, Johan Hovold Subject: [PATCH 0/4] PCI: qcom: use clk_bulk API Date: Thu, 20 Oct 2022 13:31:16 +0300 Message-Id: <20221020103120.1541862-1-dmitry.baryshkov@linaro.org> X-Mailer: git-send-email 2.35.1 MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: linux-pci@vger.kernel.org Replace open-coded clk iterations with clk_bulk_ API usage. Dmitry Baryshkov (4): PCI: qcom: Move 2_1_0 defines close to the struct definition PCI: qcom: Use clk_bulk_ API for 1.0.0 clocks handling PCI: qcom: Use clk_bulk_ API for 2.3.2 clocks handling PCI: qcom: Use clk_bulk_ API for 2.3.3 clocks handling drivers/pci/controller/dwc/pcie-qcom.c | 230 +++++-------------------- 1 file changed, 45 insertions(+), 185 deletions(-)