aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python/flamegraph.py
diff options
context:
space:
mode:
authorDavid Lechner <dlechner@baylibre.com>2023-09-29 12:23:09 -0500
committerJonathan Cameron <Jonathan.Cameron@huawei.com>2023-09-30 15:37:15 +0100
commit3c1f41d5f320a001507257ca3504716e8f8bc00c (patch)
tree7ccd645c63b37eddc6a33c57566405f535ffc518 /tools/perf/scripts/python/flamegraph.py
parentstaging: iio: resolver: ad2s1210: remove call to spi_setup() (diff)
downloadlinux-3c1f41d5f320a001507257ca3504716e8f8bc00c.tar.gz
linux-3c1f41d5f320a001507257ca3504716e8f8bc00c.zip
staging: iio: resolver: ad2s1210: check return of ad2s1210_initial()
This adds a check to the return value of ad2s1210_initial() since it can fail. The call is also moved before devm_iio_device_register() so that we don't have to unregister the device if it fails. Signed-off-by: David Lechner <dlechner@baylibre.com> Link: https://lore.kernel.org/r/20230929-ad2s1210-mainline-v3-4-fa4364281745@baylibre.com Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Diffstat (limited to 'tools/perf/scripts/python/flamegraph.py')
0 files changed, 0 insertions, 0 deletions