Commit 532888a
driver core: Better advertise dev_err_probe()
Describing the usage of dev_err_probe() as being (only?) "deemed
acceptable" has a bad connotation. In fact dev_err_probe() fulfills
three tasks:
- handling of EPROBE_DEFER (even more than degrading to dev_dbg())
- symbolic output of the error code
- return err for compact error code paths
Advertise these better and claim the usage to be "fine" to get rid of
the bad connotation.
Acked-by: Rafael J. Wysocki <rafael@kernel.org>
Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
Link: https://lore.kernel.org/r/20231215174540.2438601-2-u.kleine-koenig@pengutronix.de
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>1 parent ff6d413 commit 532888a
1 file changed
Lines changed: 5 additions & 4 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4944 | 4944 | | |
4945 | 4945 | | |
4946 | 4946 | | |
4947 | | - | |
4948 | | - | |
| 4947 | + | |
| 4948 | + | |
4949 | 4949 | | |
4950 | | - | |
| 4950 | + | |
| 4951 | + | |
| 4952 | + | |
4951 | 4953 | | |
4952 | 4954 | | |
4953 | | - | |
4954 | 4955 | | |
4955 | 4956 | | |
4956 | 4957 | | |
| |||
0 commit comments