aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorMarkus Elfring <elfring@users.sourceforge.net>2019-09-07 13:51:16 +0200
committerMark Brown <broonie@kernel.org>2019-09-09 11:05:39 +0100
commit8995673e6f584c2140b565d9ef20e4e4599aad7e (patch)
tree71434d227c7dd176c598ae9f9dadcfba0bbb6625 /tools/perf/scripts/python
parentspi: Use an abbreviated pointer to ctlr->cur_msg in __spi_pump_messages (diff)
downloadlinux-8995673e6f584c2140b565d9ef20e4e4599aad7e.tar.gz
linux-8995673e6f584c2140b565d9ef20e4e4599aad7e.zip
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 <elfring@users.sourceforge.net> Reviewed-by: Geert Uytterhoeven <geert+renesas@glider.be> Link: https://lore.kernel.org/r/b2dd074a-1693-3aea-42b4-da1f5ec155c4@web.de Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions