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

Yuan Can yuancan at huawei.com
Thu Sep 29 01:55:01 UTC 2022


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(-)

-- 
2.17.1



More information about the dri-devel mailing list