Received: by 2002:a25:868d:0:0:0:0:0 with SMTP id z13csp4340ybk; Tue, 12 May 2020 13:39:56 -0700 (PDT) X-Google-Smtp-Source: APiQypKsliqX6F1Vqo77cWbJjrXxn9vDqBD5MjHL0K6jf9hsb/LNKKJhS9fYjNUBYCLUmtYOzA8t X-Received: by 2002:a50:9dce:: with SMTP id l14mr17545410edk.135.1589315996625; Tue, 12 May 2020 13:39:56 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1589315996; cv=none; d=google.com; s=arc-20160816; b=MfFLP0dKkFAwhBBcO3s+7HGuLB3ASgQwsxUiNMyLM2mdRj6Kx2p3BOa8HIOFIXQE8I XFZoly6OQ+hhGGhOl9d2saymgxnovrIEzv1Vm3NRXTWwSraEurfaFheHe7AVQZ6R6l3R c1/xtHH0OjE+E4d0THUFQ7GhF/uLhBtrfWR4dsQ/xO/wB9dcgp3UlaZexIALniqSpLNe hoIqMYe7cw8hsKhFXz+MvWRKMmxKrrQdzYWuQu8YBFzRolYUFdY4PwowBr+6AUyFkif8 +RhHxAr7U0mSGqwtkAUKazWaBuj0bWvh2Og0HdxDqmXO5WWewYD/nonzgS8ZI5A4upJQ LGXg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:references:in-reply-to:message-id:date :subject:cc:to:from:dkim-signature; bh=B1auPUCQJ6jnhcwlo7ZQktJWdnEzk2MQBv9Xkb5qeSw=; b=IbfvHw4lbO7G8qOhiI6ZeEoJYhn26d5hLqTdsFUpC9Gcyw2BpB73O1py2AessgT2UW 9IiEjXNvghx98owvGUXj6svpPDQ36Ot3ile4PdfKQSAs5S8+4vCw5No5o2oRYU7NxMoO jzxtqkZY9x8rgx+BVO5shWg11tT8GTpAwuqQKpIdCHd0r+AfSQGHsOIPmisHg5WLA0aN 6ZRopaghzD9bboB+RQbsIdHqtMUGpEqNIc37qBiQLomtdKpF+PP5q0FQUHsbZLJpVJM4 NlUU/0jkQseVsmyixTyf5Km2BpYBbtrVJZe92BiTlJwrpWR/kKGc6HYpmuGKiUD8QckW JACA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=nceJPZeo; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id c1si8593939edd.366.2020.05.12.13.39.26; Tue, 12 May 2020 13:39:56 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=nceJPZeo; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1731210AbgELUfn (ORCPT + 99 others); Tue, 12 May 2020 16:35:43 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:38684 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-FAIL-OK-FAIL) by vger.kernel.org with ESMTP id S1731183AbgELUfi (ORCPT ); Tue, 12 May 2020 16:35:38 -0400 Received: from mail-wr1-x443.google.com (mail-wr1-x443.google.com [IPv6:2a00:1450:4864:20::443]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 7434AC061A0C; Tue, 12 May 2020 13:35:37 -0700 (PDT) Received: by mail-wr1-x443.google.com with SMTP id y16so10366156wrs.3; Tue, 12 May 2020 13:35:37 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=B1auPUCQJ6jnhcwlo7ZQktJWdnEzk2MQBv9Xkb5qeSw=; b=nceJPZeojs6qraZ8fSw/SYQJlTdlVDPgIYgLp301owRsMMVQaScvhpVAbEBY7DoCen hM6a+G6qSjNbGrcDnjjcTJVIOaUysZAmQi5H/IFhXPUL82iFLfqDtCYuocwh9pXjU/Dc 2g2Noow6pWxBbO/xkfGqnDoUXDqtf+EkarqnDTP5Ob4t7zFEP4nu850SIu8tX1gRL31d Hlxj23K5dXKqFmbKlaw3c9/AIOF83gCJgyq5LY+nYIn6SXGYLavTaxRPJ7HUoqQZpPLn 6PONYfvWuCpA02crwLMom9YiLzUOXwRmFlhZ84fQdsI/cgNwjgTFs1hOanrSQzkktKMy HjgA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=B1auPUCQJ6jnhcwlo7ZQktJWdnEzk2MQBv9Xkb5qeSw=; b=o52x9CMlAWTVg1WW9S8jG1Au0gpEuoiUi3dj+1X9eFHAl5kL5fchzFlgfstSiAtinl OadpWYfpd9XbWE2lRaEFNAmdgI37nzZQVhJw8yXx6SXrFimJ1Gfx1Qtpa9vyMN7JIK+p a1T3+SEJi8RrDqJvCILJyotAkQ/wqzHWL2/DGEXcn0T4skBDLyZZ8Vw85gn/dGlfENc4 tvXke0we20wOhjWvWZV1QRhDy5HMEI4tJcdnV6Ud5cKwmH76tGASqvc6CHNUDrugyz2q 2ZVTBmENNJRga9UIDNvnOMOpF15BQLCs6Rq5zYu+cF0LnEZYlAdewTKjkQMQH7l344TU k8+A== X-Gm-Message-State: AGi0Pua/H7WzjsmhKM/WcfTt3EHmY3T1QP9GPgqdqx26IoIgdRFqfj9X jd1xxwXOVvlYp4gWWypB3C4= X-Received: by 2002:a5d:400f:: with SMTP id n15mr15743833wrp.419.1589315736169; Tue, 12 May 2020 13:35:36 -0700 (PDT) Received: from debian.home (ip51ccf9cd.speed.planet.nl. [81.204.249.205]) by smtp.gmail.com with ESMTPSA id k131sm418219wma.2.2020.05.12.13.35.35 (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Tue, 12 May 2020 13:35:35 -0700 (PDT) From: Johan Jonker To: heiko@sntech.de Cc: linus.walleij@linaro.org, robh+dt@kernel.org, linux-gpio@vger.kernel.org, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-rockchip@lists.infradead.org, linux-kernel@vger.kernel.org Subject: [PATCH 3/3] include: dt-bindings: rockchip: remove unused defines Date: Tue, 12 May 2020 22:35:24 +0200 Message-Id: <20200512203524.7317-3-jbx6244@gmail.com> X-Mailer: git-send-email 2.11.0 In-Reply-To: <20200512203524.7317-1-jbx6244@gmail.com> References: <20200512203524.7317-1-jbx6244@gmail.com> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org The Rockchip dtsi and dts files have been bulk-converted for the remaining raw gpio numbers into their descriptive counterparts and also got rid of the unhelpful RK_FUNC_x -> x and RK_GPIOx -> x mappings, so remove the unused defines in 'rockchip.h' to prevent that someone start using them again. Signed-off-by: Johan Jonker --- include/dt-bindings/pinctrl/rockchip.h | 11 ----------- 1 file changed, 11 deletions(-) diff --git a/include/dt-bindings/pinctrl/rockchip.h b/include/dt-bindings/pinctrl/rockchip.h index 6d6bac1c2..5f291045e 100644 --- a/include/dt-bindings/pinctrl/rockchip.h +++ b/include/dt-bindings/pinctrl/rockchip.h @@ -9,13 +9,6 @@ #ifndef __DT_BINDINGS_ROCKCHIP_PINCTRL_H__ #define __DT_BINDINGS_ROCKCHIP_PINCTRL_H__ -#define RK_GPIO0 0 -#define RK_GPIO1 1 -#define RK_GPIO2 2 -#define RK_GPIO3 3 -#define RK_GPIO4 4 -#define RK_GPIO6 6 - #define RK_PA0 0 #define RK_PA1 1 #define RK_PA2 2 @@ -50,9 +43,5 @@ #define RK_PD7 31 #define RK_FUNC_GPIO 0 -#define RK_FUNC_1 1 /* deprecated */ -#define RK_FUNC_2 2 /* deprecated */ -#define RK_FUNC_3 3 /* deprecated */ -#define RK_FUNC_4 4 /* deprecated */ #endif -- 2.11.0