mirror of
https://github.com/torvalds/linux.git
synced 2026-11-07 06:17:02 +01:00
hte: tegra194: Remove redundant dev_err()
Since commit 55b48e23f5 ("genirq/devres: Add error handling in
devm_request_*_irq()"), devm_request_irq() automatically logs
detailed error messages on failure. Remove the now-redundant
driver-specific dev_err() calls.
Signed-off-by: Pan Chuang <panchuang@vivo.com>
Reviewed-by: Mikko Perttunen <mperttunen@nvidia.com>
Acked-by: Dipen Patel <dipenp@nvidia.com>
Signed-off-by: Dipen Patel <dipenp@nvidia.com>
This commit is contained in:
parent
cee9395acd
commit
c21530a75b
|
|
@ -856,10 +856,8 @@ static int tegra_hte_probe(struct platform_device *pdev)
|
|||
hte_dev->hte_irq = ret;
|
||||
ret = devm_request_irq(dev, hte_dev->hte_irq, tegra_hte_isr, 0,
|
||||
dev_name(dev), hte_dev);
|
||||
if (ret < 0) {
|
||||
dev_err(dev, "request irq failed.\n");
|
||||
if (ret < 0)
|
||||
return ret;
|
||||
}
|
||||
|
||||
gc->nlines = nlines;
|
||||
gc->ops = &g_ops;
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user