summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/bin/stackcollapse-record
diff options
context:
space:
mode:
authorDmitry Torokhov <dmitry.torokhov@gmail.com>2026-04-05 21:39:24 -0700
committerJonathan Cameron <jic23@kernel.org>2026-04-27 09:58:17 +0100
commit1c3b46b9dec4349f81f432b8ad0829714d3757ba (patch)
tree6d0f0e07e42fdfe6b1aac61de2a93c9473756d6a /tools/perf/scripts/python/bin/stackcollapse-record
parent3bfc60fc10121ea3640b11c5c11cb9be72817186 (diff)
iio: adc: ti-ads7950: simplify check for spi_setup() failures
spi_setup() specifies that it returns 0 on success or negative error on failure. Therefore we can simply check for the return code being 0 or not. Reviewed-by: David Lechner <dlechner@baylibre.com> Reviewed-by: Bartosz Golaszewski <bartosz.golaszewski@oss.qualcomm.com> Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com> Tested-by: David Lechner <dlechner@baylibre.com> Reviewed-by: Linus Walleij <linusw@kernel.org> Reviewed-by: Andy Shevchenko <andriy.shevchenko@intel.com> Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Diffstat (limited to 'tools/perf/scripts/python/bin/stackcollapse-record')
0 files changed, 0 insertions, 0 deletions