projects
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3485969
)
drivers: thermal: tsens: Remove unnecessary irq flag
author
Amit Kucheria
<amit.kucheria@linaro.org>
Thu, 12 Mar 2020 12:37:05 +0000
(18:07 +0530)
committer
Daniel Lezcano
<daniel.lezcano@linaro.org>
Fri, 20 Mar 2020 11:17:48 +0000
(12:17 +0100)
IRQF_TRIGGER_HIGH is already specified through devicetree interrupts
property. Remove it from code.
Signed-off-by: Amit Kucheria <amit.kucheria@linaro.org>
Reviewed-by: Bjorn Andersson <bjorn.andersson@linaro.org>
Reviewed-by: Stephen Boyd <swboyd@chromium.org>
Signed-off-by: Daniel Lezcano <daniel.lezcano@linaro.org>
Link:
https://lore.kernel.org/r/8ac92e45b65fe411f4aaf70dcde4e7e7c3169b2d.1584015867.git.amit.kucheria@linaro.org
drivers/thermal/qcom/tsens.c
patch
|
blob
|
history
diff --git
a/drivers/thermal/qcom/tsens.c
b/drivers/thermal/qcom/tsens.c
index 05d2721320471ff76e8c35e694f38d354a01e3d9..2f77d235cf73539b58fdc54a3ee231a732b86e7a 100644
(file)
--- 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",