mirror of
https://github.com/torvalds/linux.git
synced 2026-09-22 04:34:03 +02:00
auxdisplay: 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>
Reviewed-by: Geert Uytterhoeven <geert@linux-m68k.org>
Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
This commit is contained in:
parent
dc59e4fea9
commit
30a41cf47a
|
|
@ -547,11 +547,8 @@ static int ht16k33_keypad_probe(struct i2c_client *client,
|
|||
ht16k33_keypad_irq_thread,
|
||||
IRQF_TRIGGER_HIGH | IRQF_ONESHOT,
|
||||
DRIVER_NAME, keypad);
|
||||
if (err) {
|
||||
dev_err(dev, "irq request failed %d, error %d\n", client->irq,
|
||||
err);
|
||||
if (err)
|
||||
return err;
|
||||
}
|
||||
|
||||
ht16k33_keypad_stop(keypad->dev);
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user