]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
staging: media: tegra-video: Remove the use of dev_err_probe()
authorXichao Zhao <zhao.xichao@vivo.com>
Tue, 19 Aug 2025 11:00:59 +0000 (19:00 +0800)
committerHans Verkuil <hverkuil+cisco@kernel.org>
Tue, 14 Oct 2025 13:07:36 +0000 (15:07 +0200)
commit801d26487f34d6d7561668082c0276ac5e0767f4
tree6190e9a3134414b8489be20a1cc9c65a6160dbaf
parente2b0d6906a3e1b2d112996c5f891510947cb9c99
staging: media: tegra-video: Remove the use of dev_err_probe()

The dev_err_probe() doesn't do anything when error is '-ENOMEM'.
Therefore, remove the useless call to dev_err_probe(), and just
return the value instead.

Signed-off-by: Xichao Zhao <zhao.xichao@vivo.com>
Signed-off-by: Hans Verkuil <hverkuil+cisco@kernel.org>
drivers/staging/media/tegra-video/tegra20.c