mbox series

[-next,v2,0/2] media: nxp: Remove redundant dev_err() for platform_get_irq()

Message ID 20230810034641.1384352-1-ruanjinjie@huawei.com
Headers show
Series media: nxp: Remove redundant dev_err() for platform_get_irq() | expand

Message

Jinjie Ruan Aug. 10, 2023, 3:46 a.m. UTC
Since commit 2043727c2882 ("driver core: platform: Make use of the helper
function dev_err_probe()"), there is no need to call the dev_err() function
directly to print a custom message when handling an error from
platform_get_irq() function as it is going to display an appropriate
error message in case of a failure.

Changes in v2:
- Split into 2 patches.
- Update the commit title and the subject prefix.

Ruan Jinjie (2):
  media: imx-jpeg: Remove a redundant dev_err() for platform_get_irq()
  media: nxp: Remove a redundant dev_err() for platform_get_irq()

 drivers/media/platform/nxp/imx-jpeg/mxc-jpeg.c      | 1 -
 drivers/media/platform/nxp/imx8-isi/imx8-isi-pipe.c | 1 -
 2 files changed, 2 deletions(-)