[PATCH -next 00/13] media: Switch to use dev_err_probe() helper

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



In the probe path, dev_err() can be replace with dev_err_probe()
which will check if error code is -EPROBE_DEFER. It will print
error code in a human readable way and simplify the code.

Yang Yingliang (13):
  media: platform: stm32-cec: Switch to use dev_err_probe() helper
  media: i2c: ad5820: Switch to use dev_err_probe() helper
  media: i2c: imx274: Switch to use dev_err_probe() helper
  media: i2c: tc358743: Switch to use dev_err_probe() helper
  media: platform: mtk_mdp_comp: Switch to use dev_err_probe() helper
  media: platform: exynos4-is: Switch to use dev_err_probe() helper
  media: stm32-dcmi: Switch to use dev_err_probe() helper
  media: omap3isp: Switch to use dev_err_probe() helper
  media: xilinx: csi2rxss: Switch to use dev_err_probe() helper
  media: rc: gpio-ir-recv: Switch to use dev_err_probe() helper
  media: rc: gpio-ir-tx: Switch to use dev_err_probe() helper
  media: rc: ir-rx51: Switch to use dev_err_probe() helper
  media: uvcvideo: Switch to use dev_err_probe() helper

 drivers/media/cec/platform/stm32/stm32-cec.c  |  9 +++----
 drivers/media/i2c/ad5820.c                    | 18 +++++--------
 drivers/media/i2c/imx274.c                    |  5 ++--
 drivers/media/i2c/tc358743.c                  |  9 +++----
 .../platform/mediatek/mdp/mtk_mdp_comp.c      |  5 ++--
 .../platform/samsung/exynos4-is/media-dev.c   |  4 +--
 drivers/media/platform/st/stm32/stm32-dcmi.c  | 27 +++++++------------
 drivers/media/platform/ti/omap3isp/isp.c      |  3 +--
 .../media/platform/xilinx/xilinx-csi2rxss.c   |  8 +++---
 drivers/media/rc/gpio-ir-recv.c               | 10 +++----
 drivers/media/rc/gpio-ir-tx.c                 |  9 +++----
 drivers/media/rc/ir-rx51.c                    |  9 ++-----
 drivers/media/usb/uvc/uvc_driver.c            |  9 +++----
 13 files changed, 41 insertions(+), 84 deletions(-)

-- 
2.25.1




[Index of Archives]     [Linux Input]     [Video for Linux]     [Gstreamer Embedded]     [Mplayer Users]     [Linux USB Devel]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [Yosemite Backpacking]

  Powered by Linux