Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit ef59abef authored by zhong jiang's avatar zhong jiang Committed by Yabin Cui
Browse files

UPSTREAM: coresight: Use ERR_CAST instead of ERR_PTR



Use ERR_CAT inlined function to replace the ERR_PTR(PTR_ERR). It
make the code more concise.

Signed-off-by: default avatarzhong jiang <zhongjiang@huawei.com>
Signed-off-by: default avatarMathieu Poirier <mathieu.poirier@linaro.org>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>

(Upstream commit bbd35ba6fab5419e58e96f35f1431f13bdc14f98).

Bug: 140266694
Change-Id: I0556f3a4f75175c96498665d5f47060b9a9b14d1
Signed-off-by: default avatarYabin Cui <yabinc@google.com>
parent 7b667e20
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment