mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2026-08-30 14:33:24 -04:00
media: cec: ao-cec: 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:
@@ -689,10 +689,8 @@ static int meson_ao_cec_g12a_probe(struct platform_device *pdev)
|
||||
meson_ao_cec_g12a_irq,
|
||||
meson_ao_cec_g12a_irq_thread,
|
||||
0, NULL, ao_cec);
|
||||
if (ret) {
|
||||
dev_err(&pdev->dev, "irq request failed\n");
|
||||
if (ret)
|
||||
goto out_probe_adapter;
|
||||
}
|
||||
|
||||
ao_cec->oscin = devm_clk_get(&pdev->dev, "oscin");
|
||||
if (IS_ERR(ao_cec->oscin)) {
|
||||
|
||||
@@ -636,10 +636,8 @@ static int meson_ao_cec_probe(struct platform_device *pdev)
|
||||
meson_ao_cec_irq,
|
||||
meson_ao_cec_irq_thread,
|
||||
0, NULL, ao_cec);
|
||||
if (ret) {
|
||||
dev_err(&pdev->dev, "irq request failed\n");
|
||||
if (ret)
|
||||
goto out_probe_adapter;
|
||||
}
|
||||
|
||||
ao_cec->core = devm_clk_get(&pdev->dev, "core");
|
||||
if (IS_ERR(ao_cec->core)) {
|
||||
|
||||
Reference in New Issue
Block a user