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