diff options
author | Markus Elfring <[email protected]> | 2019-09-07 13:51:16 +0200 |
---|---|---|
committer | Mark Brown <[email protected]> | 2019-09-09 11:05:39 +0100 |
commit | 8995673e6f584c2140b565d9ef20e4e4599aad7e (patch) | |
tree | 71434d227c7dd176c598ae9f9dadcfba0bbb6625 /tools/perf/util/trace-event-scripting.c | |
parent | d1c44c9342c17e3314371325d9272684a075b65c (diff) |
spi-gpio: Use PTR_ERR_OR_ZERO() in spi_gpio_request()
Simplify this function implementation by using a known function.
Generated by: scripts/coccinelle/api/ptr_ret.cocci
Signed-off-by: Markus Elfring <[email protected]>
Reviewed-by: Geert Uytterhoeven <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Mark Brown <[email protected]>
Diffstat (limited to 'tools/perf/util/trace-event-scripting.c')
0 files changed, 0 insertions, 0 deletions