Received: by 2002:a05:6358:d09b:b0:dc:cd0c:909e with SMTP id jc27csp174117rwb; Mon, 28 Nov 2022 18:51:11 -0800 (PST) X-Google-Smtp-Source: AA0mqf59HRM1E/R/v5qepw1+jvK7HG2EN1V52N4ib4uVcK/1aScl2xUNE7Z8ZC/rj6Ri5eFXmizO X-Received: by 2002:a05:6402:5:b0:459:cdb:92ad with SMTP id d5-20020a056402000500b004590cdb92admr33396749edu.77.1669690271740; Mon, 28 Nov 2022 18:51:11 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1669690271; cv=none; d=google.com; s=arc-20160816; b=Mo/ZHcLU01klg5A6PNj63AbG9frV9lnOVr8e9YBxbdlhWMQfQE8aXURcycXOXvy7pR NWArWRivIR+Z32dq9FTt94CGdk4S/YLQhPhocPiE+7rDYNHbijrJyDYrEmx3Gl8ITKu1 hl8mbgg2Z7QrSp9ll1pcamNST57mlPbUk+haQBDZyppcV4T/tRnJnVVLcX5cz1ydvVPV thoLbpJR+T+powpOEtFbMwnGQuy8bnMEZD2owHa9MdtchDkyybza8eqgLNTgbbYaSb3u Qszt+IeTN1t+VI85TAmrUea94emsPPJ4QXuOOLyxR4xnC5Ip1lgnui61ZEQ6dZakQezn Jr8w== 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=770v95sUrIlvtNLFG2ZFJPK2miGjPEzCsACcRdRH3P0=; b=GJjbx2M/uMvcPgCy3ai13/iv1oZyWmlnEOtxXBPJnxumpnUCP7p8h1L8tCFwlh37oQ fb6RSUD4BYRnhJIv6EqC+35KzBi3Y+O3DPsLC7iNb6AJd4XvqPENahrPXyrzbZppBD4s uZbK+ljZcY/Wt2APo8hAyNQY1EVkP48egRSKgg/4dnMxNF+4Awv8ck9/cSe2+Zgm5q3a NfgpNLAOTCgVPOLPC2o8yld7LWn8WimL3FHqttXGbew5mqSHGdyCeaz9zAOBV3Q4S+oZ 2zcPxqghaztNiJyOlrZFWzuO4sDkPyFbNyboaSeVtfPIkUn8AMziN02jSTjVJEqrJHBK pitw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@baylibre-com.20210112.gappssmtp.com header.s=20210112 header.b=KtIorSId; 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 Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id gh30-20020a1709073c1e00b0079ed0a585c2si8095848ejc.261.2022.11.28.18.50.47; Mon, 28 Nov 2022 18:51:11 -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=KtIorSId; 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 S235200AbiK2CeO (ORCPT + 83 others); Mon, 28 Nov 2022 21:34:14 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:37792 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S235176AbiK2CeH (ORCPT ); Mon, 28 Nov 2022 21:34:07 -0500 Received: from mail-ed1-x52c.google.com (mail-ed1-x52c.google.com [IPv6:2a00:1450:4864:20::52c]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id C2ED2421AF for ; Mon, 28 Nov 2022 18:34:06 -0800 (PST) Received: by mail-ed1-x52c.google.com with SMTP id s12so17962573edd.5 for ; Mon, 28 Nov 2022 18:34:06 -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=770v95sUrIlvtNLFG2ZFJPK2miGjPEzCsACcRdRH3P0=; b=KtIorSIdh3d3uWlsZA1SrhGsQlbfGeLfo+VHQYFWQtkxRniNSTYERELjM3I5xCQPES iW1aMNWCA9wC7C4/aaVQa1DNgKcQlD0kCogEmpTnekZQiNNzVXywkUMmwJMXV0124wTT VgIr5sURQfKCiUWg8xMSU0fSEODUS2kcAv9kRtnb9l1e7VpAUXIMggTPsR0gGavSYVYf HqrY+qMUOQrxu0XjRe7Wfr0gZbyPsUhV1JpPtywD4DPBiIRVzADw4dzQ0nrS+5Ig4HrG hZ5ltam91ISEz7Ri66w20yPQLBDRWqJmKpiEJuMtkP2obRkKfBAZCudmfLLTnn4gm0SG HfxA== 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=770v95sUrIlvtNLFG2ZFJPK2miGjPEzCsACcRdRH3P0=; b=wyf0C2FhzKggFMAsP2079Nk8HuIgqsNVsmoCCIvVJctY28aubvU3nF09R6netceSPD 3G2yj++JsA7hCvy2OTZvQzDOTkp9bc327bbEfY6KDNdCinT+DQvIZ9qSvXydxJ2iZ5A6 s+ypy2d6TP4EPMAzr7rgUkU8ZA/jXku2kDUuGCELS57JEiG9mUQdojuoUUgH6dNZtn8n ZII7ie7Iy3B40fOZEeQafk55DYYplIrr1JZAh4ZKh0yVBxyuu7OMRz5c1HInzSCe+MR7 Bneq3DEJwgWl6xvLFIoWEKh9LkewpYB4aRIpZ46oQv/wuRvAWvzd6aPVtT/uCAIED3Dx ymKQ== X-Gm-Message-State: ANoB5pn/5Q5Iy6q2WZ7ssIqv9plh2/BAhf6mSmIV9oQvimzfDrAmZBG1 RrW/FBuustNWZhqBYzmzlNeayQ== X-Received: by 2002:a05:6402:5483:b0:468:d5a9:cb4b with SMTP id fg3-20020a056402548300b00468d5a9cb4bmr35890314edb.409.1669689245330; Mon, 28 Nov 2022 18:34:05 -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.04 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 28 Nov 2022 18:34:05 -0800 (PST) From: =?UTF-8?q?Bernhard=20Rosenkr=C3=A4nzer?= 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 2/7] pinctrl: stm32: Remove check for pins-are-numbered Date: Tue, 29 Nov 2022 03:33:56 +0100 Message-Id: <20221129023401.278780-3-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: X-Mailing-List: linux-kernel@vger.kernel.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; -- 2.38.1