gpio: sysfs: remove unneeded headers
authorBartosz Golaszewski <bartosz.golaszewski@linaro.org>
Tue, 10 Jun 2025 14:38:20 +0000 (16:38 +0200)
committerBartosz Golaszewski <bartosz.golaszewski@linaro.org>
Fri, 20 Jun 2025 07:29:14 +0000 (09:29 +0200)
commit982ec96c3876349e65e60c7b4fd91d767099837e
treeb4e86cc84ca119618f0a7c2f0859edef8bc10d4c
parentdc665b5248f90aa2dc74ecc1f2ebb731a6f5afd6
gpio: sysfs: remove unneeded headers

No symbols from the linux/idr.h or linux/spinlock.h headers are used in
this file so remove them. We also don't technically need linux/list.h
currently but one of the follow-up commits will start using it so let's
leave it.

Reviewed-by: Linus Walleij <linus.walleij@linaro.org>
Link: https://lore.kernel.org/r/20250610-gpio-sysfs-chip-export-v1-5-a8c7aa4478b1@linaro.org
Signed-off-by: Bartosz Golaszewski <bartosz.golaszewski@linaro.org>
drivers/gpio/gpiolib-sysfs.c