From patchwork Mon Jan 21 05:05:39 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "\(Exiting\) Baolin Wang" X-Patchwork-Id: 156164 Delivered-To: patch@linaro.org Received: by 2002:a02:48:0:0:0:0:0 with SMTP id 69csp6087091jaa; Sun, 20 Jan 2019 23:50:15 -0800 (PST) X-Google-Smtp-Source: ALg8bN62pSTXA4i3dSzo2EK7RLvF/yNgOl1oQ1UmLy79oOMwxEaTV4z9WsADDvq06bYsqRL4CRRl X-Received: by 2002:a17:902:8e8a:: with SMTP id bg10mr29102492plb.192.1548057015218; Sun, 20 Jan 2019 23:50:15 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1548057015; cv=none; d=google.com; s=arc-20160816; b=0pdPQT/rJ0Z6xGSA3Q8TWrfxGFLBxPFBUMPK1puprWHAYs22+pHVHEufeNS5hV0Cmx IKyVCr5wjyqpSRhbfYBTvMD/SDAekImDFKOAOpPgFeVvtr7AjvZfB+FdD9Ik4Mnjvpdv aQJfP7A7+c2zQhBT5dffpgZLKj+hPZ/z+9wori3U+MIMvjV6gzx1u84k5WRDtSjYIACk rPHvEhhz41Nge4V9Z/sw3HHkNUOVhhyWt5CnFcp1va+MfFX5slXK/3/AiDThZg/CR3Ig sEcc7TY2AY6f0yGrgdaxtnABV2msrMXWV8gT2v/i4csRxxdecohq2FRueW7GdO0wsO+P LuWw== 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=YSO3o33xwpZEnY3dvM5KsEyTJ0JSkemSKiFEUP456FU=; b=X5ZnkHZhM0PnB+RHtxl6YpbRS/qai1v3uDLA8tMN9JISFWCiISS7vZ4+24NKkSHDn+ uzHsBsNgwwItXd/BKcMMwXETE4Yv+wjY+8tTFa/Vaag1bm7p41ZJHLhC1WDT59V4xyMV cjzAXRWUkAB0eoQXu4wIBdqrIAWVp8c5ohg+JCPuUv9UxstlOd1nOA4ubdrTgMqBUFQb 8NjTQmTGTKKQWYdU/mcYcL3UWOIVnINwBrUEYT1k9EukcDcQvaCuJtLaSknBjEjsukVd X6pRRHnOEj2fYM5XkycsrXLdvSFSkLRUOt/0d7b/wzGGbr6rhj6Pe6c3FNJ/UpJe8eCl 9Frg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=FlvF7l6l; 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 g23si11143257pgb.229.2019.01.20.23.50.15; Sun, 20 Jan 2019 23:50:15 -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=FlvF7l6l; 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 S1728097AbfAUHuO (ORCPT + 5 others); Mon, 21 Jan 2019 02:50:14 -0500 Received: from mail-pf1-f195.google.com ([209.85.210.195]:34277 "EHLO mail-pf1-f195.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728152AbfAUHuO (ORCPT ); Mon, 21 Jan 2019 02:50:14 -0500 Received: by mail-pf1-f195.google.com with SMTP id h3so9756471pfg.1 for ; Sun, 20 Jan 2019 23:50:14 -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=YSO3o33xwpZEnY3dvM5KsEyTJ0JSkemSKiFEUP456FU=; b=FlvF7l6lfla3iCYt5v9kdG+acvXvTeFeg/qzfGi5BNxYTpZYrPAeDngZg6nm00b9S3 NbGwHhlcE6GYx4P0ta4rjdqhQdwf/QcNJI79EKuQ/yyb1KuL+pqdmZW0MqeCtizSPRJV AOMpETPdNE2cjwkASbSwY6na1Fs2BcMC5j1AU= 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=YSO3o33xwpZEnY3dvM5KsEyTJ0JSkemSKiFEUP456FU=; b=G/5ZMgtNNVskZmajApJa00b+ZwSCwIqzD5EUe98ElEU86rqKD0DVjc6jafgxr1M5X5 zlauZuCl1yJqPltf6AQNLx92yknlZn5nav6MkuAIqUmvD3jtKwBPD7k4ATmnEuVf8tjG bLoC7d7riGVjt+84L1J7D8trPyNFYM6dt17ndRdvQ9VOyzeNZ/NWBOJA/P/NY8SQ36P4 upwxs58qEvDh/9Rqtp9OZns+c4w0AdAGdmBuBB6jXjFYIW4QBftIGux5elyBUWW1cAx/ TNRULsBuNeKPPWNF5r2zUUzHQN4+xJqttwWjNMUzLfuaisL6tVDtfWkoRCnXLq0AQW/v FZFw== X-Gm-Message-State: AJcUukcOtSc9s5fs71OqE8EmyH18vlulvZznuZiFYcQZLsgjscV/+uQl IcQxAw3k0yjGPYemQ/nfDlopheEuqiTa3g== X-Received: by 2002:a62:5e41:: with SMTP id s62mr28172745pfb.232.1548047193126; Sun, 20 Jan 2019 21:06:33 -0800 (PST) Received: from baolinwangubtpc.spreadtrum.com ([117.18.48.102]) by smtp.gmail.com with ESMTPSA id u87sm27186794pfi.2.2019.01.20.21.06.29 (version=TLS1 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Sun, 20 Jan 2019 21:06:32 -0800 (PST) From: Baolin Wang To: linus.walleij@linaro.org, bgolaszewski@baylibre.com Cc: orsonzhai@gmail.com, zhang.lyra@gmail.com, baolin.wang@linaro.org, neo.hou@unisoc.com, broonie@kernel.org, linux-gpio@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH] gpio: sprd: Remove unused irq trigger setting Date: Mon, 21 Jan 2019 13:05:39 +0800 Message-Id: <972fd6c1a222b35159671ca82fb63db1632c3ba3.1548046988.git.baolin.wang@linaro.org> X-Mailer: git-send-email 1.7.9.5 Sender: linux-gpio-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-gpio@vger.kernel.org The Spreadtrum PMIC interrupt controller has no registers to set irq trigger type, since it is always high level trigger. That means the PMIC EIC controller as a child device of PMIC INTC does not need to set the trigger type, so remove it. Signed-off-by: Baolin Wang --- drivers/gpio/gpio-pmic-eic-sprd.c | 1 - 1 file changed, 1 deletion(-) -- 1.7.9.5 diff --git a/drivers/gpio/gpio-pmic-eic-sprd.c b/drivers/gpio/gpio-pmic-eic-sprd.c index 29e044f..ac573da 100644 --- a/drivers/gpio/gpio-pmic-eic-sprd.c +++ b/drivers/gpio/gpio-pmic-eic-sprd.c @@ -322,7 +322,6 @@ static int sprd_pmic_eic_probe(struct platform_device *pdev) ret = devm_request_threaded_irq(&pdev->dev, pmic_eic->irq, NULL, sprd_pmic_eic_irq_handler, - IRQF_TRIGGER_LOW | IRQF_ONESHOT | IRQF_NO_SUSPEND, dev_name(&pdev->dev), pmic_eic); if (ret) {