gpio: aspeed: remove unneeded include

This driver no longer uses any symbols from the GPIOLIB internal header.
We can now drop the gpiolib.h include.

Reviewed-by: Linus Walleij <linus.walleij@linaro.org>
Reviewed-by: Andrew Jeffery <andrew@codeconstruct.com.au>
Link: https://lore.kernel.org/r/20251016-aspeed-gpiolib-include-v1-3-31201c06d124@linaro.org
Signed-off-by: Bartosz Golaszewski <bartosz.golaszewski@linaro.org>
This commit is contained in:
Bartosz Golaszewski 2025-10-16 11:09:27 +02:00
parent d19f6451c6
commit 0efa5b2ca6
1 changed files with 0 additions and 1 deletions

View File

@ -29,7 +29,6 @@
* access to some GPIOs and to arbitrate between coprocessor and ARM. * access to some GPIOs and to arbitrate between coprocessor and ARM.
*/ */
#include <linux/gpio/consumer.h> #include <linux/gpio/consumer.h>
#include "gpiolib.h"
/* Non-constant mask variant of FIELD_GET() and FIELD_PREP() */ /* Non-constant mask variant of FIELD_GET() and FIELD_PREP() */
#define field_get(_mask, _reg) (((_reg) & (_mask)) >> (ffs(_mask) - 1)) #define field_get(_mask, _reg) (((_reg) & (_mask)) >> (ffs(_mask) - 1))