From patchwork Mon Nov 21 01:54:44 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?q?Bernhard_Rosenkr=C3=A4nzer?= X-Patchwork-Id: 13050310 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 AB7CAC433FE for ; Mon, 21 Nov 2022 03:01:28 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To: 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: List-Owner; bh=EmNny1Gu/9eBwQO8uvzwevGpqecXUSMOnpRUKAW9oKw=; b=FlzR9GG8MUH9xf GXN/YRPCgUWiLQdfbMGi7mbW80lDGWUQq2JlsfzBf/IOs0R/lOCNzcTC4zPQ8IA+ELe1ekDqL0Txr vif3tpllCVtQBKDOq6PKObHgch8Ah4kmuV7NABveBvkelHzJmlWkh2AC9HErXyG0OizlpGXIFyTdw BLqNhtiv8EpJHHVSUiKwIZVC2l+lfEj0lzgOeLp07QeeGpW2B0o4sLnLJBNVDll+Ey71G3TwNsZ5+ TsWQ6r8Lt5blc6lqc6V/1GFw9ZNk36PSPlmQMJAyx/OIi+/byFZP6/IQjEjpR3HChfNZu9Ukg1DLK 80qGCCxgLsYP91WT5/kQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1owx2z-008crV-SZ; Mon, 21 Nov 2022 03:00:38 +0000 Received: from mail-ej1-x62e.google.com ([2a00:1450:4864:20::62e]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1oww1m-008JN1-CC for linux-arm-kernel@lists.infradead.org; Mon, 21 Nov 2022 01:55:23 +0000 Received: by mail-ej1-x62e.google.com with SMTP id f27so25438676eje.1 for ; Sun, 20 Nov 2022 17:55:09 -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=9HDlc1+/DcvW68foCbGqR2wdeh+cpwxu/S6MfsBu13E=; b=xj9EM3zYkhGTbbAM9JInZawShpTSctQotBDNSW7ItekWMTZ9U8sy5oyMxzTcnR1Agb N5tEpEdJ4ODHdzHq0tvCg58Sv7C9uDZQPYaRcR0+xtfXY3teMyYoousQsqclTigemrCt 6uUN3w4Ly3Vd7Q+9xL2WaVTIV6087sIBE1Ua9/jl/wQOAOVikUARmkF4IxH2XWBW+dGQ CXOhZgodqE7BTE0M9T2LIHqbOupjNELdLmRu6aGvSvS3lzTdEzhGRTBZUrNNosn6zdek Q5BC1l/a/1jl9f/UmIbAm87IIw9EipXGqszyOlw3xvBeXY2K7cMpQs5DQJ1JNHRlvzXd nOoQ== 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=9HDlc1+/DcvW68foCbGqR2wdeh+cpwxu/S6MfsBu13E=; b=TXvx4RyqVDER2hW49NYmEhSOiZazo7QnaBa5hon+fQu6WJpjqUVOZJ74FuWlycq9En Z4j4IpeZdDQY78IzsWJhehynJ/LUx0tpgXh3CB8fJDgpRAGLtN6p/BscurDGn9IehTeW +Y1FnYkuzSyEF9u5k3hewcgfCDQsrur3z1OJIhMT2eigJznSewyL+GHrSoMBUw91FYGe IfWl9rDyq71df1CE/qc68RqguJqk+yn9Xc6kK6g+h/aOS2U6deEIjxuMnJJElDiUhRN+ WGwKEG5X5jYGVFCh5HwzTfEgUpUZysbHBNQFo5d0y39RC3t640DE4sjR+UL33ONwuzN/ wUMA== X-Gm-Message-State: ANoB5pmBxM3JC54NwnbEYOtltArewONDczLh1Yd+tZoU5BbHuVJtn626 HKOSYPLidp1NS3K1MIdo/HBgdA== X-Google-Smtp-Source: AA0mqf45mD5kj3zujPnEWLxQ5XlNTIKeH3Fdr1qXO7/VsrpRiIZY3/v2O8M++mNoqX30x8LccvSTMg== X-Received: by 2002:a17:906:4a55:b0:7ad:9ada:79c6 with SMTP id a21-20020a1709064a5500b007ad9ada79c6mr13827861ejv.86.1668995708222; Sun, 20 Nov 2022 17:55:08 -0800 (PST) Received: from c64.fritz.box ([2a01:2a8:8108:8301:7643:bec8:f62b:b074]) by smtp.gmail.com with ESMTPSA id g2-20020a170906538200b00782e3cf7277sm4415513ejo.120.2022.11.20.17.55.07 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 20 Nov 2022 17:55:07 -0800 (PST) From: =?utf-8?q?Bernhard_Rosenkr=C3=A4nzer?= To: devicetree@vger.kernel.org Cc: linux-mediatek@lists.infradead.org, linux-stm32@st-md-mailman.stormreply.com, linux-arm-kernel@lists.infradead.org, krzysztof.kozlowski@linaro.org, khilman@baylibre.com, mcoquelin.stm32@gmail.com, alexandre.torgue@foss.st.com, matthias.bgg@gmail.com Subject: [PATCH 2/9] pinctrl: stm32: Remove check for pins-are-numbered Date: Mon, 21 Nov 2022 02:54:44 +0100 Message-Id: <20221121015451.2471196-3-bero@baylibre.com> X-Mailer: git-send-email 2.38.1 In-Reply-To: <20221121015451.2471196-1-bero@baylibre.com> References: <20221121015451.2471196-1-bero@baylibre.com> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20221120_175518_518005_89D0FFEE X-CRM114-Status: UNSURE ( 9.36 ) 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 Remove the check for the unnecessary pins-are-numbered DeviceTree property Signed-off-by: Bernhard Rosenkränzer Reviewed-by: Matthias Brugger Acked-by: Krzysztof Kozlowski --- drivers/pinctrl/stm32/pinctrl-stm32.c | 5 ----- 1 file changed, 5 deletions(-) diff --git a/drivers/pinctrl/stm32/pinctrl-stm32.c b/drivers/pinctrl/stm32/pinctrl-stm32.c index cc9472b284047..1cddca506ad7e 100644 --- a/drivers/pinctrl/stm32/pinctrl-stm32.c +++ b/drivers/pinctrl/stm32/pinctrl-stm32.c @@ -1499,11 +1499,6 @@ int stm32_pctl_probe(struct platform_device *pdev) if (!match_data) return -EINVAL; - if (!device_property_present(dev, "pins-are-numbered")) { - dev_err(dev, "only support pins-are-numbered format\n"); - return -EINVAL; - } - pctl = devm_kzalloc(dev, sizeof(*pctl), GFP_KERNEL); if (!pctl) return -ENOMEM;