# Re: \[PATCH\] can: mscan: mpc5xxx\_can: Make use of the helper function dev\_err\_probe()

- From: Marc Kleine-Budde \<mkl@pengutronix.de\>
- Date: 2021-10-19 09:31:55 
- List: linux-can
- Page: https://ratatoskr.run/linux-can/2021/10/1546820
- Thread: https://ratatoskr.run/linux-can/2021/09/1509494/t.md

```text
On 15.09.2021 22:57:25, Cai Huoqing wrote:
> When possible use dev_err_probe help to properly deal with the
> PROBE_DEFER error, the benefit is that DEFER issue will be logged
> in the devices_deferred debugfs file.
> And using dev_err_probe() can reduce code size, and simplify the code.
> 
> Signed-off-by: Cai Huoqing <redacted>

Applied to linux-can-next/testing.

Thanks,
Marc

-- 
Pengutronix e.K.                 | Marc Kleine-Budde           |
Embedded Linux                   | https://www.pengutronix.de  |
Vertretung West/Dortmund         | Phone: +49-231-2826-924     |
Amtsgericht Hildesheim, HRA 2686 | Fax:   +49-5121-206917-5555 |
```

## Attachments

- [signature.asc](https://ratatoskr.run/linux-can/2021/10/1546820/attachment/0) (application/pgp-signature, 488 bytes)
