Message ID | 20221122010753.3126828-2-bero@baylibre.com |
---|---|
State | New |
Headers |
Return-Path: <linux-kernel-owner@vger.kernel.org> Delivered-To: ouuuleilei@gmail.com Received: by 2002:adf:f944:0:0:0:0:0 with SMTP id q4csp1935551wrr; Mon, 21 Nov 2022 17:19:19 -0800 (PST) X-Google-Smtp-Source: AA0mqf5nZHkKFjiA9XXKYdsczvCbee/fdONwWzYqVkdasBRFv3aGFLKeQRb4xrvpSKhZjQls7llQ X-Received: by 2002:a17:907:b60f:b0:787:8884:78df with SMTP id vl15-20020a170907b60f00b00787888478dfmr2590701ejc.246.1669079959259; Mon, 21 Nov 2022 17:19:19 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1669079959; cv=none; d=google.com; s=arc-20160816; b=Nlf+5c6yfqZL1csjHgd2k78Eeg/LZ/l4MguE8aHTi8RwpPOjel6avjX0UGN+sNexZq EJs2DaFD+hDUjtOyPOjASkHM20zsnvSw3RLaHCQphlRmym/DdV5GEKjSSekB3B2jg7xC cttULjrJ7vqL2iHHwKOp9A8dPYFUGCdTTCO6XgfTcmnXmmqU3Z4urWoejqfE8c94AZ4M B5Z7OO7F/mAKO+Li8nCR4YgFmse3Wv8WQIHnMNf2hCeUm+brfXvtDSuVJs7o2n1M0cNh ogvg9y7lsmxBvGF2vkXhc0goFHuEcyNiw/BlJOHvpNJcphUrcdociST0+MhvTGwmIFKj VlIw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=ZTx+TtbHQiuyemeCcK5ytUKmVUVmCoh0H5eAmJ4K4qk=; b=lErWNiukqPMffRxcLmvbbK43xplVx6vg9wZqH9j7TWEEaP3ErQZpK1QMzFEuD2GRLc 6jwmYlQw24uk57GR3VEjVfJe9OvFcIzpEnKHv00iZC0lA/duZyXGInzPhWeA9U1dnPBP qAw4TtIOqns+piufugE5Nwc9UVjp8Ftu8bnFzL34O6g7Jn/+vkAMg6QKULCFJKVNRvm0 c+lB9KG2O42zSl86YgVJ4zgjlnZzzejKguBtGolZoabmR7F6INO44M7L+Pet9g4aUT1k vny1qnYTo3rnfL2OsWHAekf+/ZbSfEXRw0Vn8EHw3lsiHGB4oDNr9S6zHbIfLyrs1HFl S0aQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@baylibre-com.20210112.gappssmtp.com header.s=20210112 header.b=LxkapDRO; 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: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id n11-20020a170906118b00b0077e04f856a2si4535527eja.541.2022.11.21.17.18.55; Mon, 21 Nov 2022 17:19:19 -0800 (PST) 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=@baylibre-com.20210112.gappssmtp.com header.s=20210112 header.b=LxkapDRO; 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 S232196AbiKVBJt (ORCPT <rfc822;cjcooper78@gmail.com> + 99 others); Mon, 21 Nov 2022 20:09:49 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:50508 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232080AbiKVBJP (ORCPT <rfc822;linux-kernel@vger.kernel.org>); Mon, 21 Nov 2022 20:09:15 -0500 Received: from mail-ej1-x632.google.com (mail-ej1-x632.google.com [IPv6:2a00:1450:4864:20::632]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 1DB07532F4 for <linux-kernel@vger.kernel.org>; Mon, 21 Nov 2022 17:08:10 -0800 (PST) Received: by mail-ej1-x632.google.com with SMTP id f18so32419356ejz.5 for <linux-kernel@vger.kernel.org>; Mon, 21 Nov 2022 17:08:10 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=baylibre-com.20210112.gappssmtp.com; s=20210112; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=ZTx+TtbHQiuyemeCcK5ytUKmVUVmCoh0H5eAmJ4K4qk=; b=LxkapDROlNg89vbfyOnHNwYtPPUfl2VexbTmKnYd0BjumMyVcRkoBcbPgGQNiCR76Z lu71Zfj0axIJ5DX8GAYZYxOcUEcnNsw19VoSTfGwI3jpbvJTC7fpGmm28fhX55YGIDul q6HM6mtWmwwZgWn/Jxl0R+IFpAHdrkfwzeiDNe3JLDvu58K0AmooRZlP42VhOD+nOtu8 Wpn2B0vMSsS3VTfpWqyvY0El80MtzxkC3ni7qpQS2roMk2Nk5Sl0U6kG15gzcX8U/yqw CM+eVkiPmV3UsNrgQxJ4fPA3bBMV8yMTG2Cb9YD/l1IjmFGKuLPm6gS44TXGKTDI6kW7 9BIw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=ZTx+TtbHQiuyemeCcK5ytUKmVUVmCoh0H5eAmJ4K4qk=; b=uOH6a87duyy3Vr1Nm7m+fyiVkiFvA4ZwYJgVml6cb6TN+HCPVNxZ4/pR+pauZ+3EG4 GKZ3DGk4PMF3sx1rHAxWg9Y7OCPRd43XBrYtZXWCzCMSPZr9g0IJ16dzI+eMJa4UB1Qj B+lpB5FQbhzcsXqc53z8Fom9N5sbkggPYOwYXvG557VQHTVS8OmTs6nEyjM9IcfOjOSs tsRIcYOqLBQIoU29QV97Tgcy8g2666Hja0rIzPbvc5RlpNSuet47baYROOlrmBntHd2c 6E0X7300NglYCuj/Xk6Nebc+AnLpe6pVFbmZCtbHAVs56gGVGFlKNCSIF/wmlnlDhVZ8 CdEg== X-Gm-Message-State: ANoB5pmAH2liVnmSplgNuoP/Uf4NuinQtQLTa3lr8V/JxeC+7O9+wvuE LXsaTPkuz/MIoIHc14EHRkaodw== X-Received: by 2002:a17:906:3810:b0:7b5:cab5:2ea8 with SMTP id v16-20020a170906381000b007b5cab52ea8mr1036389ejc.222.1669079288692; Mon, 21 Nov 2022 17:08:08 -0800 (PST) Received: from c64.fritz.box ([2a01:2a8:8108:8301:7643:bec8:f62b:b074]) by smtp.gmail.com with ESMTPSA id f13-20020a1709064dcd00b007030c97ae62sm5514683ejw.191.2022.11.21.17.08.07 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 21 Nov 2022 17:08:08 -0800 (PST) From: =?utf-8?q?Bernhard_Rosenkr=C3=A4nzer?= <bero@baylibre.com> To: devicetree@vger.kernel.org Cc: linux-mediatek@lists.infradead.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, linux-stm32@st-md-mailman.stormreply.com, mcoquelin.stm32@gmail.com, alexandre.torgue@foss.st.com, krzysztof.kozlowski@linaro.org, matthias.bgg@gmail.com, angelogioacchino.delregno@collabora.com, khilman@baylibre.com Subject: [PATCH v2 1/7] pinctrl: mediatek: common: Remove check for pins-are-numbered Date: Tue, 22 Nov 2022 02:07:47 +0100 Message-Id: <20221122010753.3126828-2-bero@baylibre.com> X-Mailer: git-send-email 2.38.1 In-Reply-To: <20221122010753.3126828-1-bero@baylibre.com> References: <20221122010753.3126828-1-bero@baylibre.com> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,RCVD_IN_DNSWL_NONE,SPF_HELO_NONE,SPF_PASS autolearn=ham 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: <linux-kernel.vger.kernel.org> X-Mailing-List: linux-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1750157187552866242?= X-GMAIL-MSGID: =?utf-8?q?1750157187552866242?= |
Series |
Remove the pins-are-numbered DT property
|
|
Commit Message
Bernhard Rosenkränzer
Nov. 22, 2022, 1:07 a.m. UTC
Remove the check for the unnecessary pins-are-numbered Devicetree property. Signed-off-by: Bernhard Rosenkränzer <bero@baylibre.com> Reviewed-by: AngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com> Reviewed-by: Matthias Brugger <matthias.bgg@gmail.com> Acked-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org> Acked-by: Kevin Hilman <khilman@baylibre.com> --- drivers/pinctrl/mediatek/pinctrl-mtk-common.c | 6 ------ 1 file changed, 6 deletions(-)
diff --git a/drivers/pinctrl/mediatek/pinctrl-mtk-common.c b/drivers/pinctrl/mediatek/pinctrl-mtk-common.c index 076ae0b38e3d7..553d16703475b 100644 --- a/drivers/pinctrl/mediatek/pinctrl-mtk-common.c +++ b/drivers/pinctrl/mediatek/pinctrl-mtk-common.c @@ -1057,7 +1057,6 @@ int mtk_pctrl_init(struct platform_device *pdev, struct pinctrl_pin_desc *pins; struct mtk_pinctrl *pctl; struct device_node *np = pdev->dev.of_node, *node; - struct property *prop; int ret, i; pctl = devm_kzalloc(&pdev->dev, sizeof(*pctl), GFP_KERNEL); @@ -1066,11 +1065,6 @@ int mtk_pctrl_init(struct platform_device *pdev, platform_set_drvdata(pdev, pctl); - prop = of_find_property(np, "pins-are-numbered", NULL); - if (!prop) - return dev_err_probe(dev, -EINVAL, - "only support pins-are-numbered format\n"); - node = of_parse_phandle(np, "mediatek,pctl-regmap", 0); if (node) { pctl->regmap1 = syscon_node_to_regmap(node);