summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/mem-phys-addr.py
diff options
context:
space:
mode:
authorAndy Shevchenko <andriy.shevchenko@linux.intel.com>2019-03-26 18:21:14 +0300
committerBartosz Golaszewski <bgolaszewski@baylibre.com>2019-04-04 10:34:13 +0300
commit1d7765ba15aca68f3bc52f59434c1c34855bbb54 (patch)
treed6fb55519c2e79a46e08db62cb2c6fdefbc6a72d /tools/perf/scripts/python/mem-phys-addr.py
parent85edcd01a902885fcb7bc02b7fc0f6e6a01b9386 (diff)
downloadlinux-1d7765ba15aca68f3bc52f59434c1c34855bbb54.tar.xz
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/mem-phys-addr.py')
0 files changed, 0 insertions, 0 deletions