mirror of https://github.com/torvalds/linux.git
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:
parent
d19f6451c6
commit
0efa5b2ca6
|
|
@ -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))
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue