aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/exported-sql-viewer.py
diff options
context:
space:
mode:
authorAndy Shevchenko <andriy.shevchenko@linux.intel.com>2019-03-26 17:21:14 +0200
committerBartosz Golaszewski <bgolaszewski@baylibre.com>2019-04-04 09:34:13 +0200
commit1d7765ba15aca68f3bc52f59434c1c34855bbb54 (patch)
treed6fb55519c2e79a46e08db62cb2c6fdefbc6a72d /tools/perf/scripts/python/exported-sql-viewer.py
parent85edcd01a902885fcb7bc02b7fc0f6e6a01b9386 (diff)
gpiolib: Don't WARN on gpiod_put() for optional GPIO
In case of debug and optional GPIO requested, the gpiod_put() is not aware of and will WARN, which is not the case. Make gpiod_put() NULL-aware to keep silent for optional GPIOs. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Signed-off-by: Bartosz Golaszewski <bgolaszewski@baylibre.com>
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions