Received: by 2002:a05:6358:d09b:b0:dc:cd0c:909e with SMTP id jc27csp5131436rwb; Mon, 21 Nov 2022 17:20:01 -0800 (PST) X-Google-Smtp-Source: AA0mqf4NLHfQhomtyydD2Dfng/VrR9s/n/Zf0erFn35MC9kxcl42PqG9LkeqvAKbGPhwdI3sRu6x X-Received: by 2002:a05:6402:4515:b0:461:cf2b:627b with SMTP id ez21-20020a056402451500b00461cf2b627bmr18312681edb.73.1669080001682; Mon, 21 Nov 2022 17:20:01 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1669080001; cv=none; d=google.com; s=arc-20160816; b=eTGfrXGaaZIMUDob62AOVPKmY+a9OiCg+9HIznNFlPEOMogzwmQWQ55X0px7Fz418I N7E8f05q2MgsE9TmmPzRVHGLaUxxyo4Jn1UgMm0t904//AtM4hKMWUkMFq94RXIzhpFr TSQReHWPXmPGZx+rBeKOlZgNkWrymKWhvYCwr4FuKBw0KmvYEXqWAAnNGV4dS5UbKZT6 Xx2Sb0srkPGuGcyfmj04CmSNHhpwNE7HEZywyMw3I6CSLaZ6fHpXDK4hnZ67dnOFb6Li GLqvPh86Y5hOO3OkComGGlcZJZzaQIkhqHm/Xna26K69/8Bfc/NgQGTJwHZrkoBiwg7U drTQ== 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=IIj12LirzK96XlYQlwfqCMnQ9YCwUTWbTs4g19ypaCcMmyr9ARjJeVzXNUb8LLh+Xt C0+Y5mlpUIA6JO4vZdzgRIJ6VLpWNmYdN+xo5cZCEohKH69j9Ce1001iGSYqqUGA0ADO YIELnKxpAgQP7I/fVzgKB2NTxsg+ZxcOTgW3L91ZvsvfKWVl9IkSVAMpclGcEgGxjeJF jSv9feAGFcnnvBOkJoZSVYE5grlOLCRnYBd088QgzlScfVAqVFcHBQksduvbf8wI4ZLm nKY0vSaPlzxtR4cGsgDk9HPYOI0EIknLA0K4MvB9LoKbQ9/JhitZ2aQi4ev6UZVF93/z edXw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@baylibre-com.20210112.gappssmtp.com header.s=20210112 header.b=tDoF3baa; 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 z27-20020a1709063adb00b0078dacbcaa7asi9810081ejd.992.2022.11.21.17.19.39; Mon, 21 Nov 2022 17:20:01 -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=tDoF3baa; 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 S232157AbiKVBJi (ORCPT + 91 others); Mon, 21 Nov 2022 20:09:38 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:50518 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232240AbiKVBJP (ORCPT ); Mon, 21 Nov 2022 20:09:15 -0500 Received: from mail-ed1-x52b.google.com (mail-ed1-x52b.google.com [IPv6:2a00:1450:4864:20::52b]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 0679C54B04 for ; Mon, 21 Nov 2022 17:08:11 -0800 (PST) Received: by mail-ed1-x52b.google.com with SMTP id b8so7811995edf.11 for ; 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=770v95sUrIlvtNLFG2ZFJPK2miGjPEzCsACcRdRH3P0=; b=tDoF3baarEZ/xbXDm7tk2HrsTGWpICgpqIAtSi03HywXzuaphjgJW54N71ewodQGgL W3DIwAOD1Z+BTxjyIkWFvBX4mFMnFV6j8xFwuUOGN12ePggI/v+RjoA02TWEeTP2sdUB b19ybRxEdtNpRoJbrGhyvTC63KxBZu0QuPH42XbY9BQ6XwdYDpUBkbYG9WVACRZguDXI uubWjH05gIC4oZ8NkoFPdw7iGNLrlZVwK13hQWmbYnFDT5k7s9ROcyPaUvx/rR96GmO+ E3EWKEI7TuP6eoRMaarAKrk4dV5iR2Q08YMiomF6wF98eCjp67l9VMJ6TtBixdO9LbvS hztA== 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=mjSzheKDUaY9zBHyfglB2jc3MoK/iX6AZWlKONtbLPk//DwxeNPn0TouSJH4pSerPk Zr3+/SwYu6hCA0Cl85ajv4pYxpORx2GdM3mmGIMYkq4jmqDWMSt4fO7aDxWB+M9AbnzG sFBV5eHAercZBgBWsqfYQ2GSDwql+/cCSnekLraa6m9FtoauWIQCTlfgqFtIG+Vylq5c kVR1hJyKRJHCe8Y6ZOC86As/IvJehtgzCApLavva1KK/D7lg3xuw/1+J+AY1bvPuNrde xSBpIO9b5W4xj+q8smCdEMKTlm1a2fBTuI+miQslDBwZY5KiKQD8GKTaO4cxRl5k0K0S KZ9A== X-Gm-Message-State: ANoB5pl0TgLmfkL/2GeO0Iwg54sYWGzu3dxaDXALiFDOmExbbhPyiu06 Vx/fyvlIOA8nwUCxp0Eezro6gw== X-Received: by 2002:a05:6402:3886:b0:463:ab08:2bc6 with SMTP id fd6-20020a056402388600b00463ab082bc6mr2102790edb.143.1669079289585; Mon, 21 Nov 2022 17:08:09 -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.08 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 21 Nov 2022 17:08:09 -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 Subject: [PATCH v2 2/7] pinctrl: stm32: Remove check for pins-are-numbered Date: Tue, 22 Nov 2022 02:07:48 +0100 Message-Id: <20221122010753.3126828-3-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: 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