From patchwork Thu Mar 12 12:37:05 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Amit Kucheria X-Patchwork-Id: 190004 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-9.9 required=3.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU, HEADER_FROM_DIFFERENT_DOMAINS, INCLUDES_PATCH, MAILING_LIST_MULTI, SIGNED_OFF_BY, SPF_HELO_NONE, SPF_PASS, USER_AGENT_GIT autolearn=unavailable autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 8195FC10DCE for ; Thu, 12 Mar 2020 12:37:50 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 5BDAD206FA for ; Thu, 12 Mar 2020 12:37:50 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="vgUq0cR6" Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727317AbgCLMht (ORCPT ); Thu, 12 Mar 2020 08:37:49 -0400 Received: from mail-pl1-f193.google.com ([209.85.214.193]:44660 "EHLO mail-pl1-f193.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727315AbgCLMhs (ORCPT ); Thu, 12 Mar 2020 08:37:48 -0400 Received: by mail-pl1-f193.google.com with SMTP id d9so2608170plo.11 for ; Thu, 12 Mar 2020 05:37:48 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=MJ0FTWWOebHELFkNME8B6qpcBpjJgX3FutsQbbeYbhU=; b=vgUq0cR6g4DhSwUTniZtXzWlsPO2JOT3AJwg1A5p+8JxLiR801I+5eEh705Tv4Uayu 6nkHCOxM3xSOLEXsTYHfv8IAD3UuRZnIG4FA0Lo2jjBUk2a5nHS2jIkZSLKRZyTJ9mEt kPtm8CsOpPl7xKRKtmtZ2g2mu1qeGDSQyTf6UHH2+Bda/dRBCk5RiattdGDAJMJ2s+yA aFuLuYQ4Dve/2Qk8hdnxfV7Kc/UlAC4SLINpPDIpdpYXkXvN6Ey32kguYOB9QgPnQwyk H+s3f1Lii4YXcQLTr4juiaWvo9wn7+je3ZrZtEiBG+5M3+8sRchqs9PyBsVKdefidqeO cY/Q== 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:mime-version:content-transfer-encoding; bh=MJ0FTWWOebHELFkNME8B6qpcBpjJgX3FutsQbbeYbhU=; b=dgzFQZUZpSQXhBuFQHMkD+CqpbY2dqubO1A1e2qAxtR9kXRjdA4r/oQvHFGJJQkn6w cqtVXN1pBFqEEUZdMHmgb8v2vk/l0rrCSxqxIRPXzGg8omQ0ycKTUc9YCVMwWGW0NUbL QWw+q1pdzTdsa735tzlwIvDtFrqKA74ibfaj6uTk42sjGC5GRb3kFlXg5B0M4b5B4VDX KOwVRLVMjvzPoR/S5W5QL+l1Y4DB/SOwjVuNTmftowuuisa2D8yKHTKyaxu43q6SSPAV 5cqZd+YfKEX1IdjLY54/dp7Fz6yzDd2AlMb1PgCNjibt2u0iMkJ7t5MCjwTHXkU6SmB8 iAlg== X-Gm-Message-State: ANhLgQ1DIOgOxUqnUco1bnt2TkaRKs02K5zNDBFsBCQyhtsxHlwj8z3T 5mqupNjAnqQQv46ttz5Lc3Xqyg== X-Google-Smtp-Source: ADFU+vshJ0hZN2X2sbZNGeO6p20WvGt4x019suitTVRzrV++c8U4DDolbSv6KgnTzCpdG3GRmqC9pQ== X-Received: by 2002:a17:902:fe83:: with SMTP id x3mr7942892plm.310.1584016667514; Thu, 12 Mar 2020 05:37:47 -0700 (PDT) Received: from localhost ([45.127.45.7]) by smtp.gmail.com with ESMTPSA id z12sm6349993pfj.144.2020.03.12.05.37.45 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 12 Mar 2020 05:37:46 -0700 (PDT) From: Amit Kucheria To: linux-kernel@vger.kernel.org, linux-arm-msm@vger.kernel.org, daniel.lezcano@linaro.org, bjorn.andersson@linaro.org, swboyd@chromium.org, sivaa@codeaurora.org, Andy Gross Cc: Amit Kucheria , linux-pm@vger.kernel.org Subject: [PATCH v7 8/8] drivers: thermal: tsens: Remove unnecessary irq flag Date: Thu, 12 Mar 2020 18:07:05 +0530 Message-Id: <8ac92e45b65fe411f4aaf70dcde4e7e7c3169b2d.1584015867.git.amit.kucheria@linaro.org> X-Mailer: git-send-email 2.20.1 In-Reply-To: References: MIME-Version: 1.0 Sender: linux-arm-msm-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-arm-msm@vger.kernel.org IRQF_TRIGGER_HIGH is already specified through devicetree interrupts property. Remove it from code. Signed-off-by: Amit Kucheria Reviewed-by: Bjorn Andersson Reviewed-by: Stephen Boyd --- drivers/thermal/qcom/tsens.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/thermal/qcom/tsens.c b/drivers/thermal/qcom/tsens.c index 05d2721320471..2f77d235cf735 100644 --- a/drivers/thermal/qcom/tsens.c +++ b/drivers/thermal/qcom/tsens.c @@ -104,7 +104,7 @@ static int tsens_register_irq(struct tsens_priv *priv, char *irqname, } else { ret = devm_request_threaded_irq(&pdev->dev, irq, NULL, thread_fn, - IRQF_TRIGGER_HIGH | IRQF_ONESHOT, + IRQF_ONESHOT, dev_name(&pdev->dev), priv); if (ret) dev_err(&pdev->dev, "%s: failed to get irq\n",