From patchwork Mon Jun 15 04:54:29 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Krzysztof Kozlowski X-Patchwork-Id: 6606071 Return-Path: X-Original-To: patchwork-linux-samsung-soc@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork1.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.136]) by patchwork1.web.kernel.org (Postfix) with ESMTP id 95A069F1C1 for ; Mon, 15 Jun 2015 04:55:00 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id C4B0F2056C for ; Mon, 15 Jun 2015 04:54:59 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 4A13C20562 for ; Mon, 15 Jun 2015 04:54:57 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751676AbbFOEy4 (ORCPT ); Mon, 15 Jun 2015 00:54:56 -0400 Received: from mailout3.w1.samsung.com ([210.118.77.13]:56376 "EHLO mailout3.w1.samsung.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750887AbbFOEyz (ORCPT ); Mon, 15 Jun 2015 00:54:55 -0400 Received: from eucpsbgm1.samsung.com (unknown [203.254.199.244]) by mailout3.w1.samsung.com (Oracle Communications Messaging Server 7.0.5.31.0 64bit (built May 5 2014)) with ESMTP id <0NPY003I6YZGHW80@mailout3.w1.samsung.com>; Mon, 15 Jun 2015 05:54:52 +0100 (BST) X-AuditID: cbfec7f4-f79c56d0000012ee-2a-557e5a9c37a6 Received: from eusync3.samsung.com ( [203.254.199.213]) by eucpsbgm1.samsung.com (EUCPMTA) with SMTP id 4D.58.04846.C9A5E755; Mon, 15 Jun 2015 05:54:52 +0100 (BST) Received: from localhost.localdomain ([10.252.80.64]) by eusync3.samsung.com (Oracle Communications Messaging Server 7.0.5.31.0 64bit (built May 5 2014)) with ESMTPA id <0NPY00MQSYZA1S40@eusync3.samsung.com>; Mon, 15 Jun 2015 05:54:52 +0100 (BST) From: Krzysztof Kozlowski To: Tomasz Figa , Linus Walleij , linux-arm-kernel@lists.infradead.org, linux-samsung-soc@vger.kernel.org, linux-gpio@vger.kernel.org, linux-kernel@vger.kernel.org Cc: Krzysztof Kozlowski Subject: [PATCH] pinctrl: samsung: Remove old unused defines Date: Mon, 15 Jun 2015 13:54:29 +0900 Message-id: <1434344069-19133-1-git-send-email-k.kozlowski@samsung.com> X-Mailer: git-send-email 1.9.1 X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFvrNJMWRmVeSWpSXmKPExsVy+t/xq7pzoupCDaauELN4/cLQYsqf5UwW mx5fY7XYPP8Po8XlXXPYLGac38dksWrXH0YHdo+ds+6ye9y5tofNY/OSeo++LasYPT5vkgtg jeKySUnNySxLLdK3S+DKeLFnN1vBNfaK+2+XMzYwnmbrYuTkkBAwkbhzuJcRwhaTuHBvPVCc i0NIYCmjxLLHJ5ggnP+MEosa34F1sAkYS2xevgSsSkTgFqPE2fm7mUESzAKGEj/f/WEHsYUF bCTe9ZwHs1kEVCX+nO9gArF5BdwlpuzfBbVOTuLkscmsExi5FzAyrGIUTS1NLihOSs811CtO zC0uzUvXS87P3cQICZIvOxgXH7M6xCjAwajEwxvxqTZUiDWxrLgy9xCjBAezkgivsnVdqBBv SmJlVWpRfnxRaU5q8SFGaQ4WJXHeubvehwgJpCeWpGanphakFsFkmTg4pRoY3esiJa4k7gzn +vk7M1E47d4JyydddcnqTCk9B56fWq8dkPMnJJm9bYNdWdfsra1PiuOfzC78VWDLpBnww58/ def6o4osLzbNyfLO8Mv1/lMjELXg66VJsQLuGdF+iqn/syr+HFh9fuu8b9Xa/A9muXuoXTjr t6/lcBg/p2LNO22mt5t3vNZXYinOSDTUYi4qTgQAbHv/Mg4CAAA= Sender: linux-samsung-soc-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-samsung-soc@vger.kernel.org X-Spam-Status: No, score=-7.4 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_HI, RP_MATCHES_RCVD, UNPARSEABLE_RELAY autolearn=unavailable version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP Since 9a2c1c3b91aa ("pinctrl: samsung: Allow grouping multiple pinmux/pinconf nodes") the defines for GPIO group and function names are not used anywhere in the driver. Signed-off-by: Krzysztof Kozlowski Inspired-by: Dan Carpenter --- drivers/pinctrl/samsung/pinctrl-samsung.c | 5 ----- 1 file changed, 5 deletions(-) diff --git a/drivers/pinctrl/samsung/pinctrl-samsung.c b/drivers/pinctrl/samsung/pinctrl-samsung.c index 3dd5a3b2ac62..c760bf43d116 100644 --- a/drivers/pinctrl/samsung/pinctrl-samsung.c +++ b/drivers/pinctrl/samsung/pinctrl-samsung.c @@ -33,11 +33,6 @@ #include "../core.h" #include "pinctrl-samsung.h" -#define GROUP_SUFFIX "-grp" -#define GSUFFIX_LEN sizeof(GROUP_SUFFIX) -#define FUNCTION_SUFFIX "-mux" -#define FSUFFIX_LEN sizeof(FUNCTION_SUFFIX) - /* list of all possible config options supported */ static struct pin_config { const char *property;