mirror of
https://github.com/torvalds/linux.git
synced 2026-09-26 10:02:02 +02:00
media: cec: tegra: Remove redundant dev_err()
Since commit
55b48e23f5 ("genirq/devres: Add error handling in devm_request_*_irq()"),
devm_request_threaded_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>
Signed-off-by: Hans Verkuil <hverkuil+cisco@kernel.org>
This commit is contained in:
parent
7861669593
commit
a45a81a790
|
|
@ -411,11 +411,8 @@ static int tegra_cec_probe(struct platform_device *pdev)
|
|||
tegra_cec_irq_handler, tegra_cec_irq_thread_handler,
|
||||
0, "cec_irq", &pdev->dev);
|
||||
|
||||
if (ret) {
|
||||
dev_err(&pdev->dev,
|
||||
"Unable to request interrupt for device\n");
|
||||
if (ret)
|
||||
goto err_clk;
|
||||
}
|
||||
|
||||
cec->adap = cec_allocate_adapter(&tegra_cec_ops, cec, TEGRA_CEC_NAME,
|
||||
CEC_CAP_DEFAULTS | CEC_CAP_MONITOR_ALL |
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user