mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2025-01-04 04:04:19 +00:00
pinctrl: da9062: don't include private GPIOLIB header
gpiochip_get_desc() now lives in linux/gpio/driver.h and there is no longer any need to include GPIOLIB's private header. Signed-off-by: Bartosz Golaszewski <bartosz.golaszewski@linaro.org> Reviewed-by: Andy Shevchenko <andy@kernel.org> Acked-by: Linus Walleij <linus.walleij@linaro.org>
This commit is contained in:
parent
fe4fa2e4f7
commit
a5c612b9db
@ -23,12 +23,6 @@
|
||||
#include <linux/mfd/da9062/core.h>
|
||||
#include <linux/mfd/da9062/registers.h>
|
||||
|
||||
/*
|
||||
* We need this get the gpio_desc from a <gpio_chip,offset> tuple to decide if
|
||||
* the gpio is active low without a vendor specific dt-binding.
|
||||
*/
|
||||
#include "../gpio/gpiolib.h"
|
||||
|
||||
#define DA9062_TYPE(offset) (4 * (offset % 2))
|
||||
#define DA9062_PIN_SHIFT(offset) (4 * (offset % 2))
|
||||
#define DA9062_PIN_ALTERNATE 0x00 /* gpio alternate mode */
|
||||
|
Loading…
Reference in New Issue
Block a user