Skip to content
Commit 56cf894e authored by Yang Yingliang's avatar Yang Yingliang Committed by Helge Deller
Browse files

parisc: pdt: Use PTR_ERR_OR_ZERO() to simplify code



Return PTR_ERR_OR_ZERO() instead of return 0 or PTR_ERR() to
simplify code.

Signed-off-by: default avatarYang Yingliang <yangyingliang@huawei.com>
Signed-off-by: default avatarHelge Deller <deller@gmx.de>
parent a0f4b787
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment