diff options
author | Bartosz Golaszewski <bartosz.golaszewski@linaro.org> | 2025-02-17 11:39:21 +0100 |
---|---|---|
committer | Bartosz Golaszewski <bartosz.golaszewski@linaro.org> | 2025-02-18 11:26:33 +0100 |
commit | dea69f2d1cc8d9ecdc72ba350d10a1e71940ef18 (patch) | |
tree | 51572f353e802092035bc79596f7654bcd9b1707 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | f04867a5d0d3a42fd3b7471343091a22363139e3 (diff) |
gpiolib: move all includes to the top of gpio/consumer.h
We have several conditional includes depending on !CONFIG_GPIOLIB. This
is supposed to reduce compilation time with CONFIG_GPIOLIB=y but in
practice there's no difference on modern machines. It makes adding new
stubs that depend on more than just GPIOLIB harder so move them all to
the top, unduplicate them and replace asm/ with preferred linux/
alternatives.
Reviewed-by: Linus Walleij <linus.walleij@linaro.org>
Link: https://lore.kernel.org/r/20250217103922.151047-1-brgl@bgdev.pl
Signed-off-by: Bartosz Golaszewski <bartosz.golaszewski@linaro.org>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions