Message ID | 20221129023401.278780-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 q4csp84758wrr; Mon, 28 Nov 2022 18:36:45 -0800 (PST) X-Google-Smtp-Source: AA0mqf6EAatXHA+feDsw/kVVi6fOMtPL3TDXGupy3WJqvpQP5IFXYmKwOH110dy9IY65GIT1nZLL X-Received: by 2002:a17:906:94e:b0:7ba:4617:3f17 with SMTP id j14-20020a170906094e00b007ba46173f17mr24021976ejd.226.1669689405668; Mon, 28 Nov 2022 18:36:45 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1669689405; cv=none; d=google.com; s=arc-20160816; b=Ki9uwH8wgl906ziaoOuGZ6lhnPDyvD8nIqDPn2dckZzB88IBT6md3r4b94GAAYhWPV xlWHYZCG9cSWS35UxtmVd86Xo+IKP++IgfQHm6ShMKmb7gZkVISzLBdI8UPQLLSovn55 aR50Z2fSxKIBzbkEDeZFeifk27KTYxW978q1dkM4WDTcmxtOiU5cCelr8GBq30e9BQDl nrciK4OWdfwWa55azQ8vuXqXdZza8XaKM69psxbnzimxo8NFQqj/8XiZKeDZnN6iT66L OEILNiKHpa/2S+n06ctelbh1sH/u6OXMUJOuAUzLH2A/UaO1A2MYCzNJarfxxY4LNNdo 209g== 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=1JnX4/g1xkr1M8PwceYtjKUt7inFCsgym4LVvFsDho6rTPTkQEMzzdh7MiMB1NV1D4 AyMzGpD/PsHbl3PpGIW5eFivNXOUODnLsB1dFgUHH3SCAJ4PDeQ1R01ym6o+BHbLvIck nr/aqiSvEKOPeGrHJ2kUbMmkqhltDv7s9dry0pcR0VVdV1YhrIzMMv8jdmI01vYpKimm 5YVaJs6Sabd1iwW+xyU2ppPXSLKXpozSEcWz/P48dl1lsrrTML3ClIMITcmv1cMGyM10 K4FquU5erewtOlS5GWoksG/6o5OmkQ8i80aJ32CwdGnDdKPkczmqtiW4mzvEpz3acnmW 8SHg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@baylibre-com.20210112.gappssmtp.com header.s=20210112 header.b=zdPnBz8L; 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 wu9-20020a170906eec900b007af1002db2bsi10365815ejb.641.2022.11.28.18.36.04; Mon, 28 Nov 2022 18:36:45 -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=zdPnBz8L; 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 S235214AbiK2CeK (ORCPT <rfc822;gah0developer@gmail.com> + 99 others); Mon, 28 Nov 2022 21:34:10 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:37786 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234976AbiK2CeH (ORCPT <rfc822;linux-kernel@vger.kernel.org>); Mon, 28 Nov 2022 21:34:07 -0500 Received: from mail-ej1-x633.google.com (mail-ej1-x633.google.com [IPv6:2a00:1450:4864:20::633]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id BFE39421A5 for <linux-kernel@vger.kernel.org>; Mon, 28 Nov 2022 18:34:05 -0800 (PST) Received: by mail-ej1-x633.google.com with SMTP id ha10so30558654ejb.3 for <linux-kernel@vger.kernel.org>; Mon, 28 Nov 2022 18:34:05 -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=zdPnBz8LuT1eYde2dmjuvmer7HQPreaOkL/J34wCWMTbFXn/rlUkZgCRefXxmTxSd6 ynHItCJhUlhX/oB2no2KlunwGK6IeCorVQeNAtZFV3oyjteMsRZVQXkWRXhjrRtoPFfv 5dTvbspYt2uIpdh6UQQCegMEKg5YRfpqkfvCrZnv6NCgczSc7qKFiDJhgpL7nq5Ix5Yw JDv1wHyuf8+45dqkj6Blp5k9x5lc7FxsVJyBNVTlGlCM/p0CjKi6p8sx7XCmaYgR/Pso n4+SrZ1GsX9KXdHppUTzlSbDJaxWGT0Of3R5Nsw2oApzRycZvxrSZv00CIsPOmdE/UTR YTyw== 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=lkl2snYm84CJ5W95KtuoeP6VgtDzl9x3PO/BlwBrsl+5+cABXPI13rqSfl0YdCM3B4 h2nb8HYUAAUGB5O7w647nQFP0YtRs/HwZAYUY3yDcIFwy/A+aOtJKwyOtqW9iaLuG4Wh I486ZSlZxbfI6y8l+Ogvh0yN2brLY2rXgLG8+7cswFpI1KlUj4Q5lcGs+Mtbuev7zyPy ww2kdPE/Gn7Yf2tx59NJS4VegYSn347HGfdkn0CB/gpCITXO2cb/7D9/db2pyOsYPGAX EXqr0fnrxGsMrD66IEmfYS9uA1782UaRPBlKavlIl9RTBEAM2TFChPkAl6aMkMTyN66I dHlA== X-Gm-Message-State: ANoB5pmfPh/qTzBGDjFOo/ddqy/D9/TJRYGQGcu3k3cbKRh4vwGY3qZy ffbqvLvQbjUjqG461Dw5kxzuwA== X-Received: by 2002:a17:906:8465:b0:7bd:7253:457a with SMTP id hx5-20020a170906846500b007bd7253457amr13730873ejc.81.1669689244396; Mon, 28 Nov 2022 18:34:04 -0800 (PST) Received: from c64.fritz.box ([81.221.122.240]) by smtp.gmail.com with ESMTPSA id a4-20020aa7d744000000b004615f7495e0sm5733817eds.8.2022.11.28.18.34.03 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 28 Nov 2022 18:34:04 -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, linux-gpio@vger.kernel.org, linus.walleij@linaro.org Subject: [PATCH v3 1/7] pinctrl: mediatek: common: Remove check for pins-are-numbered Date: Tue, 29 Nov 2022 03:33:55 +0100 Message-Id: <20221129023401.278780-2-bero@baylibre.com> X-Mailer: git-send-email 2.38.1 In-Reply-To: <20221129023401.278780-1-bero@baylibre.com> References: <20221129023401.278780-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=unavailable 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?1750796238298005477?= X-GMAIL-MSGID: =?utf-8?q?1750796238298005477?= |
Series |
Remove the pins-are-numbered DT property
|
|
Commit Message
Bernhard Rosenkränzer
Nov. 29, 2022, 2:33 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);