aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python/event_analyzing_sample.py
diff options
context:
space:
mode:
authorBartosz Golaszewski <bartosz.golaszewski@linaro.org>2023-09-07 16:52:30 +0200
committerBartosz Golaszewski <bartosz.golaszewski@linaro.org>2023-09-11 11:17:02 +0200
commited9e8d136f6d3d3265ee91bebf6fc934d5ba5a96 (patch)
treedcbd001e8dc9b6b8ffa54b0674eb0e38a2837d8a /tools/perf/scripts/python/event_analyzing_sample.py
parentgpio: mockup: simplify code by using cleanup helpers (diff)
downloadlinux-ed9e8d136f6d3d3265ee91bebf6fc934d5ba5a96.tar.gz
linux-ed9e8d136f6d3d3265ee91bebf6fc934d5ba5a96.zip
gpio: mockup: don't access internal GPIOLIB structures
Don't include gpiolib.h. Track the request status of lines locally instead. In order to retrieve the device name use the fact that gpio-mockup supports only a single GPIO device per platform device and call device_find_any_child(). Signed-off-by: Bartosz Golaszewski <bartosz.golaszewski@linaro.org> Reviewed-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Linus Walleij <linus.walleij@linaro.org>
Diffstat (limited to 'tools/perf/scripts/python/event_analyzing_sample.py')
0 files changed, 0 insertions, 0 deletions