diff options
author | Bartosz Golaszewski <bartosz.golaszewski@linaro.org> | 2023-10-11 16:02:02 +0300 |
---|---|---|
committer | Bartosz Golaszewski <bartosz.golaszewski@linaro.org> | 2023-10-13 09:50:01 +0300 |
commit | 1559d14977b694570f010854b8192e6de034bc27 (patch) | |
tree | a42340abd3c23a1485fad6ad3ed881a7cfe435b1 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | 4f3b436eea7d7242ca5c528fca1d2d15bc242190 (diff) | |
download | linux-1559d14977b694570f010854b8192e6de034bc27.tar.xz |
gpiolib: provide gpio_device_to_device()
There are users in the kernel who need to retrieve the address of the
struct device backing the GPIO device. Currently they needlessly poke in
the internals of GPIOLIB. Add a dedicated getter function.
Signed-off-by: Bartosz Golaszewski <bartosz.golaszewski@linaro.org>
Reviewed-by: Peter Rosin <peda@axentia.se>
Reviewed-by: Andy Shevchenko <andy.shevchenko@gmail.com>
Acked-by: Linus Walleij <linus.walleij@linaro.org>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions