diff options
| author | Wei Yongjun <weiyongjun1@huawei.com> | 2016-09-10 12:22:17 +0000 |
|---|---|---|
| committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2016-09-13 18:54:34 +0200 |
| commit | 0d2665b6bcfd6b7df828582a0b8a12d29691b66d (patch) | |
| tree | c29b562ddda5c3731c006414af449d26b9de6754 /tools/perf/scripts/python/bin | |
| parent | serial: mxs-auart: Disable clock on error path (diff) | |
| download | linux-0d2665b6bcfd6b7df828582a0b8a12d29691b66d.tar.gz linux-0d2665b6bcfd6b7df828582a0b8a12d29691b66d.zip | |
serial: mxs-auart: Use PTR_ERR_OR_ZERO() to simplify the code
Use PTR_ERR_OR_ZERO rather than if(IS_ERR(...)) + PTR_ERR.
Generated by: scripts/coccinelle/api/ptr_ret.cocci
Signed-off-by: Wei Yongjun <weiyongjun1@huawei.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'tools/perf/scripts/python/bin')
0 files changed, 0 insertions, 0 deletions
