Using dev_err_cast_probe() to simplify the code.
Signed-off-by: Yuesong Li <liyuesong@xxxxxxxx>
Signed-off-by: Hongbo Li <lihongbo22@xxxxxxxxxx>
---
v2: https://lore.kernel.org/all/20240828160728.GR1368797@xxxxxxxxxx/
- fix patch name
- drop the {} and fix the alignment