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:zhong jiang <zhongjiang@huawei.com> Signed-off-by:
Mathieu Poirier <mathieu.poirier@linaro.org> Signed-off-by:
Greg Kroah-Hartman <gregkh@linuxfoundation.org> (Upstream commit bbd35ba6fab5419e58e96f35f1431f13bdc14f98). Bug: 140266694 Change-Id: I0556f3a4f75175c96498665d5f47060b9a9b14d1 Signed-off-by:
Yabin Cui <yabinc@google.com>
Loading
Please register or sign in to comment