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: 157148 Delivered-To: patch@linaro.org Received: by 2002:a02:48:0:0:0:0:0 with SMTP id 69csp7484689jaa; Thu, 31 Jan 2019 09:39:09 -0800 (PST) X-Google-Smtp-Source: ALg8bN4+n3pf5NiNKBiBtKmLlKv66NAVQiuJgHK6nNxu9LT1uAJ+gargXHmHQG5ztTasaQaolfDO X-Received: by 2002:a17:902:b60a:: with SMTP id b10mr33607762pls.303.1548956349470; Thu, 31 Jan 2019 09:39:09 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1548956349; cv=none; d=google.com; s=arc-20160816; b=J4K1CGUeJEPPtsk/wp1unaOX892yqZHMHTfp6CoeEwfk3atcBdiV/zGP+2Elzti/dp BGVc8lqqFPffLpn4big8z3omC0F/9QPAemPKxY4VYVmAqaHO1sa6OyUBtwH4SBepFqR2 RpaCSfaBHaLT2bDB7SI+VMtJIjrkM0RiU3uteR2WCcuKf13H5Ab3f2q0StNgRL5oyTn9 XndQ/NyvJvE5SBVsvibQCQW/QaLBIXXfoVP123TKz5e6Sa9oWpnAs0+S0QOhJw2cN80p +HjMzW1tqtapjNl8Ty431l/ujsQV0O4MxLcfd2rNfCUb/lKgR/ViSuQNTKsBm1TEYXWw X1wg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:message-id:date:subject:cc:to:from :dkim-signature; bh=TPW8HtY0tlIfyE5OIWdHHRfrDRsLzci3JRYvnDZjIXE=; b=V5y5ZH4zcwxTyxlSSRMEspdwzt0VSG2rdONT+Ud8j2CGfWTwJClE4VbQMxAJFqL46e AxPabwK9CNBri/PmPSLqHX6AqI2AQw8kGDO4YP/AMvH8a+q7BB55+evoj1U5stDphfJG fGL/km6lgSoNir6Gg+i6q6GuhSjZtNZnv7r2VFy984Z7wvLyrSyeasvpqKRZWNkJvj8d tbA0GxMiYK2UW0gdRC/vV0uOxCbKXz+nwby453+Z4ENogjtkrcVAyYdY4acnKV1ShuMR sAeVaSmNTskXRzDPTyPLEyYwr/1a2JTPX2qmiRLIOnPtTUnbm4kj0WYsBfSEpXV97ETY 1XSw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=Argfay4e; spf=pass (google.com: best guess record for domain of linux-gpio-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-gpio-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id 2si4611365pgj.104.2019.01.31.09.39.09; Thu, 31 Jan 2019 09:39:09 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-gpio-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=Argfay4e; spf=pass (google.com: best guess record for domain of linux-gpio-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-gpio-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727735AbfAaRjI (ORCPT + 5 others); Thu, 31 Jan 2019 12:39:08 -0500 Received: from mail-pf1-f194.google.com ([209.85.210.194]:46986 "EHLO mail-pf1-f194.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727733AbfAaRjI (ORCPT ); Thu, 31 Jan 2019 12:39:08 -0500 Received: by mail-pf1-f194.google.com with SMTP id c73so1769603pfe.13 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=IcQQCztKIFsugRv4BTDKtlVVOVuduvWEj4JrSWfRRCa8EYgdXmJKfCWLn5pLq67tfX z8Vn3cxNe4GPMgMByqGGzXlZKM6ek5XOKk/GfBPoxwCmSxk68DMhYFPZ7W6XMCIKpNiG n/3H2FMOUDikezjJcV4abx0UByzFHsILZGDdJwRguUzhzhavZ/t0eB5W9xdCX79306It A0K0Zsw44DnJToMAxSDk46CsbV3GKKPTMCwl8F3yseR7wbCjxYgWURVgd4PGXF0D9/Wn 2bitWwg3KfiDxxrO4kAztziT+uYEnCjtf+ktL+uxJ7idSmLJ65v2q8jTflUaCdofjUnR SVpg== X-Gm-Message-State: AJcUukcP5TbfzFTJWXSvdNmVYhyLN0BLsK1cbm2ZvuzuFL3J+mvVDfbh Ad34vPM6gkIs2wROOQ26ewY/hg== 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-gpio-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-gpio@vger.kernel.org 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(-) -- 2.18.0 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"),