mbox series

[v2,0/2] drm/panel: Use dev_err_probe() to simplify code

Message ID 20220929015503.17301-1-yuancan@huawei.com (mailing list archive)
Headers show
Series drm/panel: Use dev_err_probe() to simplify code | expand

Message

Yuan Can Sept. 29, 2022, 1:55 a.m. UTC
This series contains two patchs simplify the error handling in probe
function by switching from dev_err() to dev_err_probe().
---
changes in v2:
- simplify the same case in panel_edp_probe
- add Reviewed-by from Douglas Anderson

Yuan Can (2):
  drm/panel: panel-edp: Use dev_err_probe() to simplify code
  drm/panel: simple: Use dev_err_probe() to simplify code

 drivers/gpu/drm/panel/panel-edp.c    | 22 ++++++----------------
 drivers/gpu/drm/panel/panel-simple.c |  9 +++------
 2 files changed, 9 insertions(+), 22 deletions(-)