mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/
synced 2026-11-17 19:14:47 +00:00
drm/tegra: plane: Improve use of dev_err_probe()
Return dev_err_probe() directly, because the return value of dev_err_probe() is the appropriate error code, and it can reduce code size, simplify the code. Signed-off-by: Cai Huoqing <caihuoqing@baidu.com> Signed-off-by: Thierry Reding <treding@nvidia.com>
This commit is contained in:
parent
fc75e4fcbd
commit
e752eef028
1 changed files with 6 additions and 10 deletions
Loading…
Add table
Add a link
Reference in a new issue