mirror of
https://github.com/torvalds/linux.git
synced 2026-05-16 18:46:14 +02:00
When dev_err_probe() is called, 'ret' holds the value of the previous
successful devm_request_irq() call.
'ret' should be assigned with a meaningful value before being used in
dev_err_probe().
While at it, use and return "PTR_ERR(ctrl->clk)" instead of a hard-coded
"-ENOENT" so that -EPROBE_DEFER is handled and propagated correctly.
Fixes:
|
||
|---|---|---|
| .. | ||
| fb | ||
| hw | ||
| panel | ||
| core.c | ||
| Kconfig | ||
| Makefile | ||