From patchwork Thu Jan 31 17:38:53 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Bjorn Andersson X-Patchwork-Id: 10791069 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 4EE4814E1 for ; Thu, 31 Jan 2019 17:39:10 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 3CC16312DB for ; Thu, 31 Jan 2019 17:39:10 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 3072B313CA; Thu, 31 Jan 2019 17:39:10 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-8.0 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,MAILING_LIST_MULTI,RCVD_IN_DNSWL_HI autolearn=ham version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id C4F4C312DB for ; Thu, 31 Jan 2019 17:39:09 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727737AbfAaRjJ (ORCPT ); Thu, 31 Jan 2019 12:39:09 -0500 Received: from mail-pf1-f194.google.com ([209.85.210.194]:39222 "EHLO mail-pf1-f194.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727734AbfAaRjI (ORCPT ); Thu, 31 Jan 2019 12:39:08 -0500 Received: by mail-pf1-f194.google.com with SMTP id r136so1791202pfc.6 for ; Thu, 31 Jan 2019 09:39:08 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id; bh=TPW8HtY0tlIfyE5OIWdHHRfrDRsLzci3JRYvnDZjIXE=; b=Argfay4eoSAA7qfNICb5mQx9JMrMHxSPOZvasCmmrQmFaIbp6T2WAJKibyNCyN3HJV cNol8UVqHP4Gt+8ImYApeG5OYFt3JhtVRO41MIQ7VNkGBih9Gc4Rk0EQ9p0Qe42vNur4 U+/Gs6Zddr+HIWnBpkdRIQJo7jnRtt16obpmM= 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; bh=TPW8HtY0tlIfyE5OIWdHHRfrDRsLzci3JRYvnDZjIXE=; b=HTearmEQ593xPc3X26EI6FOPWf9O55DFXLLsAG0njfC4ge5RNRwcgHgepwMF8gsxJM MoP5NVoKPc0ZtKPf5abDbNO8VKtaNJqpzMKVTViQT8Hi8WAi5faIVHJZ+oWyk6fwas3X AQwFjkeEfMwqYJ9pYqjMqa0G4IRuuMm+1KYDfGmRwstRZHpbWIorBeN+0exFT1McWbhB 2Zgn7khrSg9Nf/KXv/1g2gGm0hdR46vdxasjaqvVBEVf9UByiNm0ucJEBHh3nIClmsbj Khi16mbYkpM5O0urFfLRA9uhbGtKpHKLYnNsXmf+6YoBcDxIOeSQbTHzU2M4OeS9OuYP kIdA== X-Gm-Message-State: AJcUukcGJye8QxWss/HTeu7s91nIU70X4yEALmALMUHahgBDBPpgkW8N BnI3ubxGiVErFZzD0TQoiSdfXw== X-Google-Smtp-Source: ALg8bN6WLHUFthYXTErAKFpY9fy9wskPrNu0hjpGJ2K+9SsyMEetA09AEH4qxmPv3XwVgGoafSvNDQ== X-Received: by 2002:a62:c711:: with SMTP id w17mr35983046pfg.50.1548956347955; Thu, 31 Jan 2019 09:39:07 -0800 (PST) Received: from localhost.localdomain (104-188-17-28.lightspeed.sndgca.sbcglobal.net. [104.188.17.28]) by smtp.gmail.com with ESMTPSA id e16sm6532393pfn.46.2019.01.31.09.39.06 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 31 Jan 2019 09:39:07 -0800 (PST) From: Bjorn Andersson To: Bjorn Andersson , Linus Walleij Cc: Andy Gross , David Brown , linux-arm-msm@vger.kernel.org, linux-gpio@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH] pinctrl: qcom: qcs404: Drop unused UFS_RESET macro Date: Thu, 31 Jan 2019 09:38:53 -0800 Message-Id: <20190131173853.27706-1-bjorn.andersson@linaro.org> X-Mailer: git-send-email 2.18.0 Sender: linux-arm-msm-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-arm-msm@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP The UFS_RESET macro serves no purpose on QCS404, remove it. Signed-off-by: Bjorn Andersson --- drivers/pinctrl/qcom/pinctrl-qcs404.c | 25 ------------------------- 1 file changed, 25 deletions(-) diff --git a/drivers/pinctrl/qcom/pinctrl-qcs404.c b/drivers/pinctrl/qcom/pinctrl-qcs404.c index 4ffd56ff809e..1c6ba978c69f 100644 --- a/drivers/pinctrl/qcom/pinctrl-qcs404.c +++ b/drivers/pinctrl/qcom/pinctrl-qcs404.c @@ -95,31 +95,6 @@ enum { .intr_detection_width = -1, \ } -#define UFS_RESET(pg_name, offset) \ - { \ - .name = #pg_name, \ - .pins = pg_name##_pins, \ - .npins = (unsigned int)ARRAY_SIZE(pg_name##_pins), \ - .ctl_reg = offset, \ - .io_reg = offset + 0x4, \ - .intr_cfg_reg = 0, \ - .intr_status_reg = 0, \ - .intr_target_reg = 0, \ - .tile = NORTH, \ - .mux_bit = -1, \ - .pull_bit = 3, \ - .drv_bit = 0, \ - .oe_bit = -1, \ - .in_bit = -1, \ - .out_bit = 0, \ - .intr_enable_bit = -1, \ - .intr_status_bit = -1, \ - .intr_target_bit = -1, \ - .intr_raw_status_bit = -1, \ - .intr_polarity_bit = -1, \ - .intr_detection_bit = -1, \ - .intr_detection_width = -1, \ - } static const struct pinctrl_pin_desc qcs404_pins[] = { PINCTRL_PIN(0, "GPIO_0"), PINCTRL_PIN(1, "GPIO_1"),