projects
/
linux-2.6-block.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9a8c4ba
)
mfd: ti_am335x_tscadc: Delete superfluous error message
author
Tang Bin
<tangbin@cmss.chinamobile.com>
Wed, 11 Aug 2021 12:19:34 +0000
(20:19 +0800)
committer
Lee Jones
<lee.jones@linaro.org>
Mon, 16 Aug 2021 13:03:22 +0000
(14:03 +0100)
In the function ti_tscadc_probe(), when get irq failed,
platform_get_irq() logs an error message, so remove
redundant message here.
Signed-off-by: Tang Bin <tangbin@cmss.chinamobile.com>
Signed-off-by: Lee Jones <lee.jones@linaro.org>
drivers/mfd/ti_am335x_tscadc.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/mfd/ti_am335x_tscadc.c
b/drivers/mfd/ti_am335x_tscadc.c
index 0e6e25308190a45fe08a7819e9456de53ec73f5f..55adc379f94beac4fc167dfbdeb8eb1a11e47fc4 100644
(file)
--- a/
drivers/mfd/ti_am335x_tscadc.c
+++ b/
drivers/mfd/ti_am335x_tscadc.c
@@
-175,10
+175,9
@@
static int ti_tscadc_probe(struct platform_device *pdev)
tscadc->dev = &pdev->dev;
err = platform_get_irq(pdev, 0);
- if (err < 0) {
- dev_err(&pdev->dev, "no irq ID is specified.\n");
+ if (err < 0)
goto ret;
-
}
else
+ else
tscadc->irq = err;
res = platform_get_resource(pdev, IORESOURCE_MEM, 0);