mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2026-06-21 20:35:34 -04:00
Revert "gpio: expose pull-up/pull-down line flags to userspace"
This reverts commit 8c550e94b8.
This was prematurely applied and we need to back it out to merge
a better version of the development track for this feature.
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
This commit is contained in:
@@ -33,8 +33,6 @@ struct gpiochip_info {
|
||||
#define GPIOLINE_FLAG_ACTIVE_LOW (1UL << 2)
|
||||
#define GPIOLINE_FLAG_OPEN_DRAIN (1UL << 3)
|
||||
#define GPIOLINE_FLAG_OPEN_SOURCE (1UL << 4)
|
||||
#define GPIOLINE_FLAG_PULL_UP (1UL << 5)
|
||||
#define GPIOLINE_FLAG_PULL_DOWN (1UL << 6)
|
||||
|
||||
/**
|
||||
* struct gpioline_info - Information about a certain GPIO line
|
||||
@@ -64,8 +62,6 @@ struct gpioline_info {
|
||||
#define GPIOHANDLE_REQUEST_ACTIVE_LOW (1UL << 2)
|
||||
#define GPIOHANDLE_REQUEST_OPEN_DRAIN (1UL << 3)
|
||||
#define GPIOHANDLE_REQUEST_OPEN_SOURCE (1UL << 4)
|
||||
#define GPIOHANDLE_REQUEST_PULL_UP (1UL << 5)
|
||||
#define GPIOHANDLE_REQUEST_PULL_DOWN (1UL << 6)
|
||||
|
||||
/**
|
||||
* struct gpiohandle_request - Information about a GPIO handle request
|
||||
|
||||
Reference in New Issue
Block a user